home *** CD-ROM | disk | FTP | other *** search
/ The PC-SIG Library 10 / The PC-Sig Library - Shareware for the IBM PC and Compatibles (PC-SIG)(Tenth Edition Disks 1-2804)(1991).iso / PC_SIGCD / 19 / 9 / DISK1992.ZIP / GB11-2.EXE / MGHELP.DAT < prev    next >
Text File  |  1989-06-01  |  88KB  |  2,644 lines

  1. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX    1
  2.  
  3.  ENTRY SCREEN
  4.  
  5.  This is Magic PC's Entry Screen. The name of the
  6.  owner  of  the  software  appears  in  the upper
  7.  left-hand  corner.  The  Date  field  will  show
  8.  either  the  date  given  by the user at the DOS
  9.  level,  or,  in  the event that no date has been
  10.  supplied,  the date entered in the last Magic PC
  11.  session.  The  default date can be overridden by
  12.  typing  a  different  date  in 6 digits, with no
  13.  intervening  slashes.  You can use the Backspace
  14.  key   to  correct  errors  before  pressing  the
  15.  <Enter> to accept the date and enter Magic PC.
  16.  
  17.  F1 - (Opt): Installation Menu
  18.  
  19.  F9 - (End): Exit to DOS.
  20.  
  21.  F10 - (?):  How to use Help.
  22. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX    2
  23.  
  24.  USER MENUS
  25.  
  26.  Magic  PC  has  three  User  Menu levels: System
  27.  Menu, Sub-System Menus, and Program Menus. These
  28.  menus are nested. Making a selection from any of
  29.  the menus is consistent throughout Magic PC:
  30.  
  31.  Either  type  the  number  of your choice and an
  32.  <Enter>, or use the arrow keys to highlight your
  33.  selection,  then  press <Enter>. In a two column
  34.  menu,  the  Right  and  Left Arrow Keys are also
  35.  operative.
  36.  
  37.  You  can use the Home Key to highlight the first
  38.  menu  entry  and  the  End  Key to highlight the
  39.  last.  To  leave  a  menu  and  go  back  to the
  40.  previous  level,  press  F9 (End). Note that the
  41.  selection   you   originally  made  will  remain
  42.  highlighted when returning to that level.
  43. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   17
  44.  
  45.  SORT TABLE
  46.  
  47.  In  the  Sort  Table,  you  choose the fields by
  48.  which  the records will be sorted, determine the
  49.  size of the segment if the field is alphanumeric
  50.  and  whether  the  Sort  is done in Ascending or
  51.  Descending  order. You can sort by a combination
  52.  of  up  to 10 different fields. Press F4 to open
  53.  new  lines  in  the  table.  When you are ready,
  54.  press F9 to accept your selections.
  55. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   39
  56.  
  57.  HOW TO USE HELP
  58.  
  59.  Magic  PC  provides  you  with context-sensitive
  60.  help  screens. There are 2 levels of help in the
  61.  Design Module, and 4 levels of help at Runtime.
  62.  
  63.  Design Module:
  64.  
  65.  Press F10 whenever a new window is displayed and
  66.  you  will  see  the help information relevant to
  67.  that  subject. If it is a selection menu, choose
  68.  the  entry  you need and then press F10 for help
  69.  on  that  entry.  From  any  help screen you can
  70.  press  F10  again  to  display  this "HOW TO USE
  71.  HELP"  screen. To exit, press F9 (End) for every
  72.  F10 you have entered.
  73.  
  74.  At Runtime:
  75.  
  76.  The  designer can prepare a field-sensitive help
  77.  screen for the end-user and also one common help
  78.  screen  for  the  entire  Task. The end-user can
  79.  invoke  4  levels  of  help by pressing F10 four
  80.  times:  The  field  level  help,  the Task level
  81.  help,  the  User  Options Help, and finally this
  82.  "HOW  TO  USE  HELP"  The  first  two levels are
  83.  prepared  by  the  designer  and  stored  in the
  84.  XXCTL.DAT  file  as part of the application, and
  85.  the  last  2 levels are stored in the MGHELP.DAT
  86.  file.
  87. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   44
  88.  
  89.  USER OPTIONS
  90.  
  91.  The  User  Options menu is available by pressing
  92.  F1  from  within a Magic PC program. It offers a
  93.  selection  of different modes to run the program
  94.  (Modify,  Create  and  Query), and also provides
  95.  for   a   comprehensive  set  of  operations  to
  96.  manipulate   the  data  (Locate  records,  limit
  97.  ranges  of records, sort, dynamically change the
  98.  current   key,   and  control  the  input/output
  99.  destination).
  100.  
  101.  At  times,  the  system  designer  may decide to
  102.  disable  some  of  the  modes and operations, or
  103.  even  eliminate  the  access to the User Options
  104.  menu  altogether,  in which case the F1 will not
  105.  be highlighted at the bottom of the screen.
  106.  
  107.  Within  the  User  Options  menu  you  have  the
  108.  following methods of making your selection:
  109.  
  110.  1.  Use  the  directional keys to highlight your
  111.  selection, then <Enter> to accept it.
  112.  
  113.  2.  Type in the number of the option you wish to
  114.  select, then <Enter>.
  115.  
  116.  3.  Press  the Function key with the same number
  117.  as the option you want to select.
  118.  
  119.  Once  you are familiar with the options, you can
  120.  press  F1 and the respective F key consecutively
  121.  to get quickly to the requested option. The User
  122.  Options  window  will  not open. For example, if
  123.  you  press  F1 F4 from any point in the program,
  124.  Magic  PC  will automatically display the Locate
  125.  screen   and   you  can  enter  the  information
  126.  required   to   locate   the   specific   record
  127.  immediately.
  128.  
  129.  The  User  Options menu is split into two parts:
  130.  the first three selections are the
  131.  available  modes of operation. The remainder are
  132.  special requests which can be made to manipulate
  133.  the Data View. The Modes of Operation are:
  134.  
  135.  Modify (F1):
  136.  
  137.  In  this  mode,  you can change data in existing
  138.  records.
  139.  
  140.  Create (F2):
  141.  
  142.  In  this  mode,  you  can  create  new  records.
  143.  Pressing  Down Arrow will confirm the record and
  144.  present  a  new screen or line for input. The Up
  145.  Arrow  will go to previously entered records and
  146.  allow you to change your data.
  147.  
  148.  Note,   however,   that  the  range  of  records
  149.  available  for modification while in Create mode
  150.  is  limited  to  those records created since you
  151.  last  entered  this  mode.  In this way, you can
  152.  refer  to  the "family" of records entered while
  153.  in the same Create session.
  154.  
  155.  Query (F3):
  156.  
  157.  The  only  operation  allowed  in  this  mode is
  158.  scanning  through  the  records and fields using
  159.  the  Directional  Keys.  An  attempt to change a
  160.  data field will result in a beep.
  161.  
  162.  Note:
  163.  -----
  164.  In   Batch   type  programs  (reports,  vertical
  165.  updates,  etc.)  the  F1  through  F3  above are
  166.  replaced  by  "F1:  Run"  only,  since the above
  167.  modes  are irrelevant in this case. Select F1 to
  168.  run   the   program   after   you  employed  the
  169.  operations described below.
  170.  
  171.  Locate (F4):
  172.  
  173.  When choosing the Locate option, the Task screen
  174.  will appear with "Masks" covering all fields.
  175.  
  176.  The cursor rests on the current Key Field making
  177.  it  easy  to  ask  for  the  most  common search
  178.  request  -  by key. Enter your requested key and
  179.  press  F9  to  execute the search. Magic PC will
  180.  search for the requested record from the current
  181.  record  on,  up  to  the end of the file (or the
  182.  current  Data  View).  If  found,  the requested
  183.  record  will  show immediately. If not, the next
  184.  record will be shown and the appropriate message
  185.  will  be  displayed. Note that if you would like
  186.  the  search  to  start from the beginning of the
  187.  file,  you must position your cursor at the very
  188.  first  record,  simply  by pressing the Home key
  189.  prior  to entering the Options Menu. (for a line
  190.  mode  window,  press  Home twice: the first will
  191.  move the cursor to the first line in the screen,
  192.  and the second to the top of the file.)
  193.  
  194.  If  the  field(s)  participating  in  the search
  195.  request  are  the current key fields, the result
  196.  will  be almost immediate. If not, the file will
  197.  be  scanned sequentially. Also note that the key
  198.  search  will  be  made  on  the  current key. To
  199.  change  the current key, use the Key (F6) option
  200.  before executing the search.
  201.  
  202.  While  the  simplest  type  of  Locate operation
  203.  would  be  to search for a record by its key, it
  204.  is  also  possible  to  search  using  a From/To
  205.  Range. In this case, you would first type in the
  206.  data  relating  to  where  you want to start the
  207.  search  (From),  then press F8 to switch over to
  208.  the  To:  prompt. The masking will appear again,
  209.  and  you can then type in the data pertaining to
  210.  the point where you want to stop the search over
  211.  the previous entry. The first record within that
  212.  set   which   matches  your  criteria,  will  be
  213.  displayed.  If  no  such  record  is  found, the
  214.  cursor  will be positioned on the next record by
  215.  key.
  216.  
  217.  The  F7  and  F8  keys  will  work  as a toggle,
  218.  alternately  displaying  your  first (From:) and
  219.  second  (To:) entries. As usual, F9 will execute
  220.  the search.
  221.  
  222.  The  third  method of using the Locate option is
  223.  with  an  expression.  Press F6 (Expr) and enter
  224.  the  Expression table. You can enter any logical
  225.  expression,  and  the system will search for the
  226.  first record which fits that expression.
  227.  
  228.  Within a search screen, the Delete key (F3) will
  229.  delete all selection criteria, while the Nullify
  230.  key (F4) will only delete a single entry.
  231.  
  232.  Range (F5):
  233.  
  234.  You   can   set   the  Range  of  records  which
  235.  participate  in the task (called the Data View),
  236.  overriding the range predetermined by the system
  237.  designer. This Range stays active as long as you
  238.  remain  in  the  Task  or  until the entries are
  239.  deleted or changed.
  240.  
  241.  The  Range  Option  has  the  same levels as the
  242.  Locate  option (see above). You can give a Range
  243.  From  a field To a field, using F7 and F8 (From:
  244.  To:),  or  by  expression.  The Range operation,
  245.  however,  will  display  not  one  record, but a
  246.  group of records which fit the Range criteria.
  247.  
  248.  As  usual,  you  exit from the definition screen
  249.  with  F9,  thereby  accepting  the current Range
  250.  definition, and starting the Range operation.
  251.  
  252.  Key (F6):
  253.  
  254.  Using this option you can change the Main Key of
  255.  the  task  and  display the records according to
  256.  the  new  key. To do that you must Zoom into the
  257.  Key Table and define the new key.
  258.  
  259.  The  new key will remain active until changed or
  260.  the  user  leaves  the task. As mentioned above,
  261.  before initiating a search, you can redefine the
  262.  key of the Data View.
  263.  
  264.  You  can  choose Key 0 (no key at all), by going
  265.  to  the  top  of  the  Key name Table (above the
  266.  first  key),  and  leaving  with  F9.  This will
  267.  display  the  records in the physical order they
  268.  appear in the data file.
  269.  
  270.  Sort (F7):
  271.  
  272.  The  Sort  Option  allows  a  User to perform an
  273.  online sort by up to ten Ascending or Descending
  274.  Keys.
  275.  
  276.  A  Sort  Operation will override the active key.
  277.  The  new  sort remains active until the User has
  278.  either  left  the  task,  or  canceled  the sort
  279.  definition.
  280.  
  281.  Files (F8):
  282.  
  283.  This option refers to Input/Output Files. In the
  284.  program,  the  designer  gives a name to the I/O
  285.  files.  This  is especially useful in Batch type
  286.  tasks printing reports. If no name is given, the
  287.  file  is  sent  to  the Printer with the default
  288.  name  PRN:  The  User can, at this point, change
  289.  the  name of the Output file, sending the Output
  290.  to disk file or to the console.
  291. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   45
  292.  
  293.  EXPRESSION TABLE
  294.  
  295.  You  can enter any legal mathematical or logical
  296.  expression  following the conventional algebraic
  297.  rules, using the Magic PC Functions.
  298.  
  299.  Use  the  letters  assigned  to all the selected
  300.  fields,  in the list on the left of your screen.
  301.  Zoom if the list is too long to be displayed all
  302.  at  once  on  the screen, and scroll to view the
  303.  entire list. Return with F9.
  304.  
  305.  Enter  your expression in the table and <Enter>.
  306.  It  is  translated  automatically to display the
  307.  field names instead of the letter codes.
  308.  
  309.  If  an error is detected in the expression, only
  310.  the  part  up to the error is displayed. Use the
  311.  Edit mode (Esc) to correct your error.
  312. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   46
  313.  
  314.  I/O TABLE
  315.  
  316.  In   this   Table  you  can  redefine  the  file
  317.  destination.
  318.  
  319.  The  default  destination  for an Output file is
  320.  PRN: or the Printer. To see the report displayed
  321.  on  the screen, enter CON: or "console" (without
  322.  the  quotes). To send the report to a disk file,
  323.  enter  the  DOS file name. Then press F9, and F1
  324.  to run the program.
  325.  
  326.  Another  parameter  you can change is the number
  327.  of lines per page. The default is 60.
  328.  
  329.  As  always,  the output file definition you make
  330.  will  remain  in effect until it is changed back
  331.  or you have left this task.
  332. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   53
  333.  
  334.  LOGON WINDOW
  335.  
  336.  Enter  your User ID and press <Enter>. Now enter
  337.  your  password  and press <Enter>. Magic PC will
  338.  not display the password on the screen, and will
  339.  always  proceed to the next screen. Your User ID
  340.  and  password  will  be  validated only when you
  341.  enter a specific system in the System Menu.
  342. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX    3
  343.  
  344.  CONVERT UTILITY
  345.  
  346.  This  important  utility  is  used to reorganize
  347.  data  files and/or perform conversion of data in
  348.  the process.
  349.  
  350.  It  is  strongly recommended that you backup the
  351.  original   data   file   before   starting  this
  352.  procedure since, at its conclusion, the original
  353.  file will be replaced with the new one.
  354.  
  355.  You should have enough room on your disk for the
  356.  new  file,  since the old one will remain on the
  357.  disk until the process is completed.
  358.  
  359.  The  Convert  utility  must  be run any time you
  360.  change  the  definition of fields or keys in the
  361.  Data Dictionary, for existing data files.
  362.  
  363.  To  convert, enter the Data Dictionary, make the
  364.  requested  change  to the field definitions, and
  365.  any changes to the keys. Before leaving the file
  366.  line  in  the  Data  Dictionary  Table, you must
  367.  press  the  F7  (Convert)  key.  This  timing is
  368.  critical  because,  as long as you remain on the
  369.  file line, Magic PC remembers the old definition
  370.  of  the file and its keys and is able to perform
  371.  the  conversion.  Once you leave the line, it is
  372.  no longer possible to run the utility!!
  373.  
  374.  Since  it  is  so  crucial to run the Convert on
  375.  time,   Magic  PC  displays  a  warning  message
  376.  anytime   you   change   anything  in  the  Data
  377.  Dictionary.  If data files exist at the time the
  378.  change  is  made  you  must run the convert. You
  379.  should,  however,  make  all  the changes to the
  380.  file  before  you  convert.  This  includes  the
  381.  changes to the Fields and the Keys.
  382.  
  383.  You  can  alter  anything  in  the  file and key
  384.  definitions:
  385.  
  386.      Add a field anywhere in the file.
  387.      Delete records.
  388.      Change attributes.
  389.      Add or delete keys.
  390.      Switch between Unique and Non-unique.
  391.      Add or delete segments.
  392.  
  393.  If  changing  attributes  of  fields,  Magic  PC
  394.  attempts to convert the Data types. If inserting
  395.  new  fields,  they  will  be  assigned  zero  or
  396.  blanks.
  397.  
  398.  You  can zoom on the Scan key to get the list of
  399.  the  file's  keys. Choosing the key will cause a
  400.  scan of the existing file in that key order, and
  401.  the  creation  of the new file by that key. This
  402.  ensures  that  the physical order of the records
  403.  in  the new file will equal the logical order by
  404.  the  selected key, thereby guaranteeing the best
  405.  performance  in  scanning  the  file  or any I/O
  406.  operation.
  407.  
  408.  If  you  choose  Key 0, the current file will be
  409.  scanned  sequentially.  Use  Key  0  to  recover
  410.  damaged  files,  since Magic PC will reconstruct
  411.  the keys and data automatically.
  412.  
  413.  Another benefit of the reorganization process is
  414.  the  fact  that  records  which  were  marked as
  415.  deleted  and  have  not yet been reused, are not
  416.  copied  to  the  new file. This is the "packing"
  417.  operation  of  Magic PC, which will decrease the
  418.  physical size of the file.
  419. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX    4
  420.  
  421.  DISPLAY FIELD SCREEN
  422.  
  423.  This  screen  is  used  to  select a field to be
  424.  displayed on the screen. Zoom to the left column
  425.  and  highlight the field you want to display and
  426.  return  with  F9.  The  description  will appear
  427.  automatically  on the screen. If you skip to the
  428.  EXPression   column,   you   can   Zoom  to  the
  429.  Expression  Table and select an expression whose
  430.  result will be displayed on the screen.
  431.  
  432.  Auto Skip: If Y, the field will be automatically
  433.  skipped when filled with data.
  434.  
  435.  Commas:  If  Y,  numeric  fields  will show with
  436.  commas separating the thousands.
  437.  
  438.  Negative: If Y, negative values are allowed.
  439.  
  440.  Blank  When  Zero:  If Y, numeric fields will be
  441.  displayed as blanks when their value is zero.
  442.  
  443.  Leading  Zeros: If Y, displays leading zeros for
  444.  numeric fields.
  445.  
  446.  Uppercase:  If Y, converts all lowercase letters
  447.  to uppercase.
  448.  
  449.  Pos:  You  can  override the default position of
  450.  the displayed field.
  451.  
  452.  Size: Allows override of the default size of the
  453.  field.  Note  that you can split an alphanumeric
  454.  field  into  multiple lines. Enter, for example,
  455.  (2,15) for a field of length [30].
  456.  
  457.  Decs: Allows override of the number of displayed
  458.  decimal places.
  459.  
  460.  Help:  Zoom  to  the  Help  Table  to define and
  461.  select the help screen for this field.
  462.  
  463.  You can leave this screen in one of three modes:
  464.  
  465.  1.  Press  F9 to display the field on the screen
  466.  at the specified position.
  467.  
  468.  2.  Press  F7 to display the field and its title
  469.  next to it in Screen Mode.
  470.  
  471.  3.  Press  F8 to display the field and its title
  472.  above it in Line Mode.
  473.  
  474.  As  always, pressing F2 leaves the screen making
  475.  no field selection.
  476. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX    5
  477.  
  478.  DESIGNER OPTIONS MENU
  479.  
  480.  This  menu  gives  you  access  to  all  of  the
  481.  designing  capabilities  of  Magic  PC  once you
  482.  enter a specific application. On the System Menu
  483.  level,  only  the  Menu  maintenance  option  is
  484.  available.
  485.  
  486.  Use  the  Directional  Keys  and <Enter> to make
  487.  your   selection,   or   press  the  appropriate
  488.  Function Key.
  489.  
  490.  This   is  a  general  description  of  all  the
  491.  options.  For  more specific help, choose one of
  492.  the options and request help on that level.
  493.  
  494.  Designing Options:
  495.  
  496.  Choose  options  F1  through  F5  to  design the
  497.  Menus,  Data  Dictionary, Programs, Help Screens
  498.  and User IDs of your application.
  499.  
  500.  Print/Export/Import Options:
  501.  
  502.  F6  will  print or export Menus, Data Dictionary
  503.  Programs,  Help  Screens  and  User  ID.  If you
  504.  choose  the Document options Magic PC will print
  505.  a  detail document of all the application system
  506.  elements.
  507.  
  508.  If you choose Internal format printing, Magic PC
  509.  will  export  the  system's elements in internal
  510.  format.  Then  you can import it back using F7 -
  511.  the Dictionary Import utility. This feature will
  512.  help you to achieve the following:
  513.  
  514.  1.  To  copy and modify existing programs, using
  515.  them  as  templates  or as the basis for similar
  516.  systems.
  517.  
  518.  2.  If  a  few designers implement the system in
  519.  parallel,  you  can  export  all  their  Control
  520.  Files,  and  merge all of them by importing them
  521.  into one consolidated file.
  522.  
  523.  3.  If  your  XXCTL.DAT file is damaged, you can
  524.  dump all 5 system element using Internal format,
  525.  then  open a new system and import all the files
  526.  back in. Importing should be done in this order:
  527.  Data Dictionary, Help Screens, User ID, Programs
  528.  and Menus.
  529. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX    6
  530.  
  531.  SYSTEM MENU MAINTENANCE
  532.  
  533.  System Description:
  534.  
  535.  The system name as it shows in the System Menu.
  536.  
  537.  Control:
  538.  
  539.  Enter  two  alpha  characters  to  identify  the
  540.  Control  File.  If  XX is entered, Magic PC will
  541.  use XXCTL.DAT as the Control File. You can press
  542.  F6  to widen the input area and then enter a DOS
  543.  path  name.  D:\MAGIC\XX  will cause Magic PC to
  544.  look  for  the  XXCTL.DAT  file  in the D:\MAGIC
  545.  directory.  Press  F6 again or <Enter> to shrink
  546.  the input area.
  547.  
  548.  Data:
  549.  
  550.  Enter  two alpha characters to identify the data
  551.  files.  If  XX  is  entered,  Magic  PC will use
  552.  XXFILYYY.DAT  for  the  data  file. Enter a path
  553.  name  in  a  similar  way  to the Programs entry
  554.  explained above.
  555.  
  556.  Sub-System, Program:
  557.  
  558.  Enter  the  Sub-System number and/or the Program
  559.  number  you  would  like  the  end user to go to
  560.  directly from the Entry Screen. In this case the
  561.  System Menu will be skipped (only when using the
  562.  stand    alone    Runtime    module)   and   the
  563.  corresponding  Sub-System  or  Program  will  be
  564.  displayed.  See  chapter  5 in the documentation
  565.  for details.
  566. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX    7
  567.  
  568.  SUB-SYSTEM MENU
  569.  
  570.  This  table  is  used  to describe the different
  571.  Sub-systems.  The break-down into Sub-systems is
  572.  a  logical  split  of the different parts of the
  573.  system   for   the   user's   convenience.   All
  574.  Sub-Systems  use  the  same System Control File,
  575.  containing the Data and Program Dictionaries.
  576.  
  577.  As in all tables, the F4 key is used to create a
  578.  new  line, F2 to cancel the operation, and F3 to
  579.  delete a line.
  580. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX    8
  581.  
  582.  PROGRAM MENU
  583.  
  584.  Program Description:
  585.  
  586.  The program name is automatically copied to this
  587.  column  from  the Program Table when you zoom on
  588.  the No. column to select a program. You can then
  589.  override  the name in those cases that you would
  590.  like  to display a different name in the Program
  591.  Menu.
  592.  
  593.  No. :
  594.  
  595.  Zoom to select a program from the Program Table,
  596.  or type in the program number.
  597.  
  598.  Parameter:
  599.  
  600.  If  the  No. column is 0, and this column is not
  601.  blank,   then   Magic  PC  invokes  the  command
  602.  processor   (as  specified  in  the  Environment
  603.  Screen), and passes to it the Parameter line for
  604.  execution.     Upon     termination,     control
  605.  automatically   returns  to  Magic  PC.  If  the
  606.  Parameter is DOS, then control is transferred to
  607.  DOS,  until  the  user types EXIT at which point
  608.  control returns to Magic PC.
  609.  
  610.  Cls:
  611.  
  612.  If  Yes,  the  Magic PC screen is cleared before
  613.  leaving  to  DOS.  If  No,  the  screen  is  not
  614.  cleared.
  615. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX    9
  616.  
  617.  DATA DICTIONARY
  618.  
  619.  The  Data  Dictionary  is  part  of  the  System
  620.  Control  File  and is made up of all File, Field
  621.  and Key Definitions.
  622.  
  623.  All  Database  Files  are defined in this table.
  624.  The only information you can enter on this table
  625.  is  the  File  Name.  All  other columns are for
  626.  display  only and should be Zoomed on. The files
  627.  are  automatically  numbered  as you create them
  628.  (F4).  The  File  number  (YYY)  in  this  table
  629.  corresponds    to   the   physical   file   name
  630.  (XXFILYYY.DAT).
  631.  
  632.  F7  -  Convert:  Run  the  Convert Utility after
  633.  changing  the Data Dictionary and before leaving
  634.  the file line.
  635.  
  636.  F8  -  Checker:  Run  the  Checker  to check the
  637.  file's definitions.
  638. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   10
  639.  
  640.  FIELDS
  641.  
  642.  Field Types:
  643.  
  644.  (A)  Alphanumeric  - Where the size of the field
  645.  is  specified in bytes, up to the maximum record
  646.  size (2K).
  647.  
  648.  (I)  Integer  -  A  2  byte signed (+/-) Numeric
  649.  field of up to 4 digits.
  650.  
  651.  (L) Long Integer - A 4 byte signed (+/-) Numeric
  652.  field of up to 9 digits.
  653.  
  654.  (R)  Real  - A 4 byte signed (+/-) Numeric field
  655.  with  a  decimal  point,  in  a combination of 6
  656.  digits, from (-0.000001 to 999999).
  657.  
  658.  (E)  Extended  -  An 8 byte signed (+/-) Numeric
  659.  field  with a decimal point, in a combination of
  660.  14 digits.
  661.  
  662.  (D)  Date  -  Stored  internally  as  a  4  byte
  663.  integer,   where   01/01/1901  is  equal  to  1.
  664.  Therefore,   it   is   possible   to  carry  out
  665.  arithmetic operations on the data.
  666.  
  667.  (T)  Time  -  Stored  internally  as  a  4  byte
  668.  integer,   counting   seconds   from   midnight.
  669.  Therefore,   it   is   possible   to  carry  out
  670.  arithmetic operations on the data.
  671. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   11
  672.  
  673.  KEYS
  674.  
  675.  Any field or combination of fields in a file can
  676.  be  defined  as a key, which is either Unique or
  677.  Non-Unique.  One file can have multiple keys. In
  678.  this case, the file will be pre-sorted according
  679.  to  all  keys.  The  User can switch immediately
  680.  from  one  sort  order  to another, and will not
  681.  have to wait for an external sort.
  682.  
  683.  A key is made up of segments. A segment of a key
  684.  can  be  either an entire field or a part of it,
  685.  if   alphanumeric.   The  order  can  be  either
  686.  Ascending  or  Descending, unless the Type is I,
  687.  L,  or D, in which case the key can be Ascending
  688.  only.
  689.  
  690.  The Key definition screen is actually made up of
  691.  two   tables.   The   upper  section  lists  the
  692.  different  keys  in  the  file. When the key you
  693.  wish  to  handle is highlighted, the segments of
  694.  that  key  will appear in the table at the lower
  695.  right.  Indeed,  you  need  only  Zoom  on  your
  696.  selection  in  the  upper  table  to  get to the
  697.  details  in  the lower. This is where you choose
  698.  the  fields  which  will make up the segments of
  699.  your  key.  The  size is computed automatically,
  700.  unless you have chosen an alphanumeric field, in
  701.  which  case,  the  cursor  will stop on the Size
  702.  column  and  await  your  input.  You  must also
  703.  decide   whether   the   segment  is  sorted  in
  704.  Ascending  or  Descending  order (A or D). After
  705.  specifying  the  details  of the key, the F9 key
  706.  will bring you back to the upper table.
  707. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   12
  708.  
  709.  PROGRAM TABLE
  710.  
  711.  This  is  the  Program  Description  Table.  The
  712.  column   on  the  left  represents  the  program
  713.  numbers, which are automatically assigned by the
  714.  system.  The  programs  can  be  called by these
  715.  numbers  either within another program or on the
  716.  Menu  Maintenance screen. To create a new entry,
  717.  press  the F4 (Add) key, which will insert a new
  718.  line  wherever  you  are  in the table. If a new
  719.  program  is  inserted in the middle of the list,
  720.  the   other   programs   will  be  automatically
  721.  renumbered throughout the System.
  722.  
  723.  A  Program  is  made up of a series of Tasks and
  724.  Sub-Tasks   which  can  be  nested.  A  Task  is
  725.  comprised  of  a  Task  Header and the Execution
  726.  Definition  of  that  Task. To enter a Program's
  727.  first  Task  Header,  ZOOM  (F5)  on the Program
  728.  Name.
  729.  
  730.  F8:  -  Run  the  Checker  to check your program
  731.  before you run it.
  732. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   13
  733.  
  734.  TASK HEADER
  735.  
  736.  The  Task  Header has two major purposes. First,
  737.  it  defines  the  general Data View, by choosing
  738.  the Main File for the Task along with one of its
  739.  keys   which   is  used  to  define  the  record
  740.  sequence.   Second,   it   provides  information
  741.  pertaining  to  the  Task,  such as, the Mode of
  742.  Operation,   the   Task   Type,  etc.  Essential
  743.  information  is  provided  on  the first screen.
  744.  Less  frequently  used parameters are entered on
  745.  the More Information screen, which is reached by
  746.  Zooming  (F5)  on the More Information parameter
  747.  at the bottom of the screen.
  748.  
  749.  Task Description:
  750.  
  751.  This  description  is  copied automatically from
  752.  the Program Description Table.
  753.  
  754.  Main File:
  755.  
  756.  The  major file of this Task. All other Database
  757.  files  used  by  the  Task are Linked Files. The
  758.  Zoom  key  (F5) is active on this field, and you
  759.  can  choose  the  file  you  need  from the File
  760.  Description Table.
  761.  
  762.  Key:
  763.  
  764.  The  default key for this Task selected from the
  765.  Key window. Use the Zoom to make this selection,
  766.  returning with F9. If the Key is defined here as
  767.  zero  (0),  then  you can Zoom to the Expression
  768.  Table and write an expression which results in a
  769.  number.  This  will be the Key number to be used
  770.  by the Task.
  771.  
  772.  Mode:
  773.  
  774.  The  default  mode  in which the Task will start
  775.  when  first  run  by  the User. This mode can be
  776.  changed  by  the  User in the User Options Menu.
  777.  Press  the  ?  key  to see a list of the various
  778.  Modes available for this parameter.
  779.  
  780.  If Options (O) is given as the Mode of Operation
  781.  default,  the User will see the Option Menu upon
  782.  entering  the  Task,  and will then choose which
  783.  Mode he wants to use.
  784.  
  785.  Entering   a  blank  will  give  access  to  the
  786.  Expression  Table.  This expression should yield
  787.  one of the characters above.
  788.  
  789.  Task Type:
  790.  
  791.  This  parameter  is  a  major branching point in
  792.  Task  definitions.  This  is  where  you  define
  793.  whether   a   Task  is  On-line  or  Batch.  All
  794.  following  definitions  and Execution Operations
  795.  will depend on this parameter.
  796.  
  797.  Task Size:
  798.  
  799.  This parameter automatically displays the amount
  800.  of memory used by the Task.
  801. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   14
  802.  
  803.  TABLE SELECTION
  804.  
  805.  To select from a table, use the directional keys
  806.  to  highlight  your choice and press F9 to leave
  807.  the  table. If you press F2, you leave the table
  808.  making  no  selection  and  the  previous  entry
  809.  remains.
  810.  
  811.  Note  that the cursor might show above the first
  812.  entry of the table, when the selection is zero.
  813. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   15
  814.  
  815.  MORE INFO
  816.  
  817.  Open Files
  818.  ----------
  819.  
  820.  DB:
  821.  
  822.  Describes     Magic    PC's    Database    Files
  823.  participating  in the Task. ZOOM to the DB Table
  824.  to display the Help for this entry.
  825.  
  826.  I/O:
  827.  
  828.  Zoom  on  this  field  to define Input or Output
  829.  Files  to  correspond respectively with the Read
  830.  and  Write File Operations in the Task Execution
  831.  Table.  Zoom  to  the  I/O  Table to display its
  832.  Help.
  833.  
  834.  Modifiable (Y/N)
  835.  ----------------
  836.  
  837.  The various "Modifiable" parameters will be used
  838.  by  the  designer to limit the options available
  839.  to the user at Runtime:
  840.  
  841.  Options (Y/N):
  842.  
  843.  When  set  to  N,  the  User Options Menu is not
  844.  accessible  to  the user (F1 is not highlighted)
  845.  both  in  Batch  and Online Task. This overrides
  846.  all the other Modifiable entries below.
  847.  
  848.  Modify/Create/Delete (Y/N):
  849.  
  850.  Whether  or not the user can use these modes for
  851.  this Task.
  852.  
  853.  Locate/Range (Y/N):
  854.  
  855.  Whether or not the user can change the Locate or
  856.  Range expression in the More Info screen.
  857.  
  858.  Key (Y/N):
  859.  
  860.  Whether or not the user can change the Key which
  861.  was specified in the Task Header.
  862.  
  863.  Sort (Y/N):
  864.  
  865.  Whether the user has a Sort option. In addition,
  866.  if  you  ZOOM  in  on  this  parameter,  you can
  867.  predetermine  the  sort sequence for the Task in
  868.  the Sort Table.
  869.  
  870.  I/O Files:
  871.  
  872.  Whether  or  not  the  user can change the Input
  873.  Output  files  defined  in  the I/O Table in the
  874.  More Info Screen.
  875.  
  876.  Expression for
  877.  --------------
  878.  
  879.  Expression for Locate:
  880.  
  881.  Positions  the  cursor  on the first record that
  882.  qualifies  for this expression. The range is not
  883.  limited.
  884.  
  885.  Expression for Range:
  886.  
  887.  Predetermines the range of records participating
  888.  in  the  Task, to those which give a True result
  889.  to the expression.
  890.  
  891.  Expression for End:
  892.  
  893.  An expression which will define an End Condition
  894.  for  the  Task.  Typically, an On-line Task ends
  895.  when  the  User presses the F9 key. A Batch Task
  896.  ends  when  all  records have been processed. If
  897.  you want to set a different criterion for ending
  898.  a  Task,  you  can specify an expression at this
  899.  parameter.
  900.  
  901.  Expression for Delete:
  902.  
  903.  This  Expression is only used in Batch Tasks and
  904.  serves as a criterion to delete records from the
  905.  File.  In  this  case,  every  record  that  the
  906.  expression  evaluates to 'TRUE'L will be deleted
  907.  from the File.
  908.  
  909.  Form Lines:
  910.  
  911.  Used   for   Pre-Printed  Form  processing.  For
  912.  example,  if there is only room for 6 Item Lines
  913.  in  an  Order  Entry  Form,  choose  6  for this
  914.  parameter.
  915.  
  916.  Task Help:
  917.  
  918.  Zoom  to  define  the global Help Screen for the
  919.  Task.  This Number can also be set from the Main
  920.  Screen for the Task.
  921.  
  922.  Conditions (Y/N)
  923.  ----------------
  924.  
  925.  Open Window:
  926.  
  927.  This parameter will determine whether or not the
  928.  Task  has  its  own  window. If No (N), the Task
  929.  uses  the  Father Task's window and special care
  930.  must be taken.
  931.  
  932.  Close Window:
  933.  
  934.  If Open Window=N (above) then if Close Window is
  935.  set  to  N,  the  Window Area on the Father Task
  936.  which  belongs to this Task - is not erased when
  937.  leaving the Task.
  938.  
  939.  Record Cycle:
  940.  
  941.  If  Y, after entering the last field of a record
  942.  the  cursor  comes  back  to  the  first  field,
  943.  cycling on the same record. To go on to the next
  944.  record  automatically  after  accepting the last
  945.  field of the record, change this parameter to N.
  946.  
  947.  Repaint Screen:
  948.  
  949.  If  Y, the screen is painted every time a Record
  950.  Suffix  is  completed.  This should be used only
  951.  when  necessary,  since  in  most  cases (in the
  952.  default  N setting) the screen is only repainted
  953.  when needed.
  954.  
  955.  Resident Task:
  956.  
  957.  If Y, then the Task is loaded to memory when its
  958.  Father  is loaded, and is only released when the
  959.  Father  Task  is  terminated. This is especially
  960.  useful for sub-tasks which are called frequently
  961.  from  Father  tasks,  since the disk I/O time is
  962.  eliminated.
  963. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   16
  964.  
  965.  EXPRESSION TABLE
  966.  
  967.  F4 opens a new line in this table. Press the End
  968.  key  first  if  you want to add an expression to
  969.  the bottom of the table.
  970.  
  971.  Each  entry in the table evaluates to one of the
  972.  following:  String, Numeric, or Logical (True or
  973.  False).
  974.  
  975.  You  can enter any legal mathematical or logical
  976.  expression  following the conventional algebraic
  977.  rules,  using  the  Magic  PC Functions. Use the
  978.  letters  assigned  to  all  the selected fields,
  979.  from  the top task down to the current one. Zoom
  980.  if  the  list is too long to be displayed all at
  981.  once  on  the  screen,  and  scroll  to view the
  982.  entire  list.  Return with F9. The expression is
  983.  translated  automatically  to  display the field
  984.  names instead of the letter codes.
  985.  
  986.  If  an error is detected in the expression, only
  987.  the  part  up to the error is displayed. Use the
  988.  Edit mode (Esc) to correct your error.
  989.  
  990.  If  the  expression  is  longer  than  the space
  991.  allowed  in  the  table,  press  F6 (Wide). Nine
  992.  lines  of  25  characters each are given for the
  993.  expression.  Press  F6  again  to  return to the
  994.  table. Other Available Function Keys:
  995.  
  996.  (F2) Undo: Leaves the table without changing the
  997.  entry in the task.
  998.  
  999.  (F3) Delete: Deletes an entry from the table.
  1000.  
  1001.  (F4) Add: Creates a new entry in the table.
  1002.  
  1003.  @:  (At-sign  to  Copy):  Enter  @ as your first
  1004.  character  in  the expression, then follow it by
  1005.  existing   Expression  number  and  <Enter>,that
  1006.  Expression will be copied to the this entry.
  1007.  
  1008.  FUNCTION LIST
  1009.  -------------
  1010.  
  1011.  The following screens display a list of Magic PC
  1012.  Functions,  along with their parameters (Parms),
  1013.  the   type   they  return  (Ret),  and  a  brief
  1014.  description.  The  list is organized by Function
  1015.  type.  Use  this  list  as  a quick reference to
  1016.  verify  the  format  of a specific Function. The
  1017.  complete list sorted alphabetically is available
  1018.  in Chapter 10 of the Reference Manual.
  1019.  
  1020.  
  1021.  Literals
  1022.  --------
  1023.  Alphanumeric   'abc1234$%*'
  1024.  Numeric        -123.45
  1025.  Date           '01/01/86'D
  1026.  Time           '12:30:00'T
  1027.  Logical        'TRUE'L or 'FALSE'L
  1028.  
  1029.  
  1030.  Operators:
  1031.  
  1032.  Mathematical
  1033.  ------------
  1034.  +         Addition of two numbers
  1035.  -         Subtraction of two numbers
  1036.  *         Multiplication of two numbers
  1037.  /         Division of two numbers
  1038.  ^         Exponentiation
  1039.  MOD       Modulus:the remainder of a division.
  1040.  -( )      Changing the sign of an expression.
  1041.  
  1042.  
  1043.  Logical
  1044.  -------
  1045.  =         Equation
  1046.  <>        Not Equal
  1047.  <=        Less than or equal to
  1048.  <         Less than
  1049.  >=        Greater than or equal to
  1050.  >         Greater than
  1051.  NOT       Negation
  1052.  AND       And
  1053.  OR        Or
  1054.  
  1055.  
  1056.  String
  1057.  ------
  1058.  &         string concatenation.
  1059.  
  1060.  
  1061.  Date Functions:
  1062.  
  1063.  Name      Parms     Ret  Description
  1064.  ------------------------------------
  1065.  DATE                date System date
  1066.  
  1067.  DAY       date      num  Day number (1-31)
  1068.  MONTH     date      num  Month number (1-12)
  1069.  YEAR      date      num  Year (1901-up)
  1070.  
  1071.  DOW       date      num  Day-Of-Week (1-7)
  1072.  CDOW      date      str  'Sunday','Monday'...
  1073.  NDOW      num       str  'Sunday','Monday'...
  1074.  
  1075.  CMONTH    date      str  'January','February'
  1076.  NMONTH    num       str  'January','February'
  1077.  
  1078.  DSTR      date,mode str  date to string
  1079.  DVAL      str       date string to date
  1080.  
  1081.  
  1082.  Time Functions:
  1083.  
  1084.  Name      Parms     Ret  Description
  1085.  ------------------------------------
  1086.  TIME                time System time
  1087.  
  1088.  HOUR      time      num  Hours (0-99
  1089.  MINUTE    time      num  Minutes (0-59)
  1090.  SECOND    time      num  Seconds (0-59)
  1091.  
  1092.  TSTR      time,mode str  time to string
  1093.  TVAL      str       time string to time
  1094.  
  1095.  
  1096.  Mathematical Functions:
  1097.  
  1098.  Name      Parms          Ret  Description
  1099.  -----------------------------------------
  1100.  ABS       num            num  Absolute value
  1101.  MOD       num MOD num    num  Modulus
  1102.  
  1103.  FIX       num,whole,dec  num  Truncate num.
  1104.  ROUND     num,whole,dec  num  Rounds numbers
  1105.  
  1106.  LOG       num            num  Natural log.
  1107.  
  1108.  
  1109.  Trigonometric Functions:
  1110.  
  1111.  Name      Parms     Ret  Description
  1112.  ------------------------------------
  1113.  COS       rad       num  Cosine
  1114.  SIN       rad       num  Sine
  1115.  TAN       rad       num  Tangent
  1116.  
  1117.  ACOS      num       rad  Arc Cosine
  1118.  ASIN      num       rad  Arc Sine
  1119.  ATAN      num       rad  Arc Tangent
  1120.  
  1121.  
  1122.  String Manipulation:
  1123.  
  1124.  Name      Parms               Ret  Description
  1125.  ----------------------------------------------
  1126.  DEL       str,pos,len         str  Delete
  1127.  INS       str1,str2,pos,len   str  Insert
  1128.  REP       str1,str2,pos,len   str  Replace
  1129.  
  1130.  MID       str,pos,len         str  Substring
  1131.  
  1132.  LTRIM     str                 str  Left Trim
  1133.  RTRIM     str                 str  Right Trim
  1134.  LEN       str                 num  Length
  1135.  
  1136.  LOWER     str                 str  To Lower
  1137.  UPPER     str                 str  To Upper
  1138.  
  1139.  FILL      str,repeat          str  Fill
  1140.  INSTR     str1,str2           num  Locate
  1141.  
  1142.  
  1143.  Logical Functions:
  1144.  
  1145.  Name      Parms          Ret  Description
  1146.  -----------------------------------------
  1147.  IF        log,val1,val2  val  Logical If
  1148.  AND       log AND log    log  Logical And
  1149.  OR        log OR log     log  Logical Or
  1150.  NOT       NOT log        log  Logical Not
  1151.  
  1152.  
  1153.  
  1154.  Type Conversion:
  1155.  
  1156.  Name      Parms          Ret  Description
  1157.  -----------------------------------------
  1158.  ASC       str            num  string to ASCII
  1159.  CHR       num            str  ASCII to string
  1160.  
  1161.  STR       num,len,dec    str  number to str.
  1162.  VAL       str            num  str. to number
  1163.  
  1164.  
  1165.  Identification:
  1166.  
  1167.  Name      Parms     Ret  Description
  1168.  ------------------------------------
  1169.  SYS                 str  System's name
  1170.  MENU                str  Sub-System's name
  1171.  PROG                str  Program's name
  1172.  OWNER               str  Owner's name
  1173.  PREF                str  Data files prefix
  1174.  PATH                str  DOS path to data files
  1175.  
  1176.  TERM                num  Terminal number
  1177.  USER                num  User ID number
  1178.  GROUP               num  User group number
  1179.  
  1180.  
  1181.  Tests & Conditions:
  1182.  
  1183.  Name      Parms     Ret  Description
  1184.  ------------------------------------
  1185.  EOF       Task,file log  End-of-File
  1186.  EOP       Task,file log  End-of-Page
  1187.  LINE      Task,file num  Line number
  1188.  PAGE      Task,file num  Page number
  1189.  STAT      Task,str  log  Task mode
  1190. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   18
  1191.  
  1192.  DB TABLE
  1193.  
  1194.  This  is  the  DB  Table, where all the Database
  1195.  files opened in the task are defined.
  1196.  
  1197.  Mode:
  1198.  
  1199.  Refers  to the Mode in which the file is opened.
  1200.  In a single-user environment the default mode is
  1201.  A (Accelerated Exclusive). The other option is P
  1202.  (Pre-Image Exclusive). In this Mode, all entries
  1203.  are simultaneously written into a preimage file.
  1204.  In  the  event  of  a  crash,  when  Magic PC is
  1205.  started  up  again  all  the  lost  data will be
  1206.  automatically  re-entered  into the system. This
  1207.  mode  will, of course, slow down data entry, and
  1208.  should only be used when necessary.
  1209.  
  1210.  In  a Multi-user Environment, the Mode parameter
  1211.  takes on additional meanings.
  1212.  
  1213.  A  file  can  be  opened  in Mode A (Accelerated
  1214.  Exclusive)  or  P  (Pre-Image Exclusive) as in a
  1215.  single-user   environment,  where  the  file  is
  1216.  opened  exclusively  for this program and cannot
  1217.  be  accessed  by  any  other program at the same
  1218.  time.  Alternatively,  a  file  can be opened in
  1219.  Record  Mode  (R)  or Shared Mode (S). In Record
  1220.  Mode,  the  current  record  is locked, allowing
  1221.  other  programs  to use different records in the
  1222.  same  file,  while  in Shared mode, programs can
  1223.  share the file, and therefore should be used for
  1224.  multiple read-only cases.
  1225.  
  1226.  Expression:
  1227.  
  1228.  Allows  you  to override the default name of the
  1229.  DB  File. You can enter an expression here which
  1230.  changes  the  path,  drive name and/or file name
  1231.  for the duration of the Task.
  1232. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   19
  1233.  
  1234.  I/O TABLE
  1235.  
  1236.  The  I/O  Table  must be used to define Input or
  1237.  Output Files to correspond respectively with the
  1238.  Read  and  Write  File  Operations  in  the Task
  1239.  Execution Table.
  1240.  
  1241.  The  first  parameter is the File Description or
  1242.  name. The next parameter defines an Input (I) or
  1243.  Output   (O)   file.  An  additional  option  is
  1244.  Sequential Output (S), where no Top of Page mark
  1245.  is generated by Magic PC in the Output file.
  1246.  
  1247.  The I/O file name in DOS can be given by Zooming
  1248.  to  the  Expression  Table.  If no expression is
  1249.  supplied  for  an  Output  file  name,  Magic PC
  1250.  assumes  the name to be 'PRN:' and will send the
  1251.  output to the printer.
  1252.  
  1253.  Lines: Refers to the number of lines per page in
  1254.  an  output file. If left as 0, Magic PC uses the
  1255.  default from the Environment Screen.
  1256.  
  1257.  Modify  Name:  and Modify Lines: Either allow or
  1258.  prevent  the  User  from changing a file name or
  1259.  destination  and  the number of lines on a page.
  1260.  If  Yes,  the User can reroute a report from the
  1261.  printer  to  the console, send it to a disk file
  1262.  or use different size paper.
  1263. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   20
  1264.  
  1265.  EXECUTION TABLE
  1266.  
  1267.  This  level  controls  the flow of input and the
  1268.  execution of operations.
  1269.  
  1270.  The  screen  is  split into two parts. The upper
  1271.  table  shows  which  level  (Record  or Task) is
  1272.  being handled, and the number of operations. The
  1273.  lower  part  of  the screen shows the details of
  1274.  the upper table. More specifically, it shows the
  1275.  Operations which belong to the highlighted entry
  1276.  in  the  upper table, either the Prefix, Main or
  1277.  Suffix  operations.  To  switch  between Prefix,
  1278.  Main  and Suffix, use the Left-Right Arrow Keys.
  1279.  To scroll between the Record to Task Levels, use
  1280.  the Up and Down Arrow Keys. To enter the desired
  1281.  lower table (details), press the ZOOM key (F5).
  1282.  
  1283.  It  is  very  important to understand how to use
  1284.  the various levels in Batch and On-Line Tasks.
  1285.  
  1286.  The  main purpose of defining an On-Line Task is
  1287.  to  generate  an  input screen for the end-user.
  1288.  This  screen  consists  of input fields, display
  1289.  fields,   calculations,  windows,  branching  to
  1290.  different  tasks  under certain conditions, etc.
  1291.  This  is  called  the flow of the task and it is
  1292.  placed  in the Main section of the Record Level.
  1293.  Once  the user has finished his interaction with
  1294.  a  record, a series of operations can take place
  1295.  automatically  before  continuing  to  the  next
  1296.  record.  These  operations  are  defined  in the
  1297.  Record Suffix.
  1298.  
  1299.  Operations  carried out on the Task Level are to
  1300.  be   executed  either  before  the  Task  starts
  1301.  (Prefix)  or  at  its  conclusion  (Suffix). The
  1302.  Prefix  operations  are executed before the Task
  1303.  enters  the  Record  Level, and therefore before
  1304.  the first record is read. The Suffix is a set of
  1305.  operations  which are executed at the conclusion
  1306.  of the Task, after the last record is read.
  1307.  
  1308.  A  Task  Prefix  or  Suffix  is,  by definition,
  1309.  executed only once per Task.
  1310.  
  1311.  The  Batch Task differs from the On-Line Task on
  1312.  the  Record  Level  in the fact that there is no
  1313.  user  intervention.  Therefore, the functions of
  1314.  the  Main section of record level are reduced to
  1315.  selecting  the  Data  View and assigning initial
  1316.  values to fields.
  1317.  
  1318.  The operations to be performed on each record of
  1319.  the  Data  View  are  specified  in  the  Record
  1320.  Suffix.
  1321.  
  1322.  The On-Change Block
  1323.  
  1324.  A  major  difference  between  On-Line and Batch
  1325.  Tasks  is the ability to introduce an additional
  1326.  level  between  the  Record  and Task level. You
  1327.  define  a  field  as  the  break criterion. This
  1328.  break  criterion  will define a block of records
  1329.  which are similar in at least this aspect.
  1330.  
  1331.  Once  established, the On-Change criterion entry
  1332.  allows  the  definition of operations which will
  1333.  serve  as a Prefix and a Suffix to the block. In
  1334.  the  Prefix  of  an  On-Change  entry, you would
  1335.  typically   enter  operations  such  as  zeroing
  1336.  counters  and printing new headers, while in the
  1337.  Suffix  you  would, for example, enter a display
  1338.  of totals or statistical information.
  1339.  
  1340.  It is important to note that the moment a change
  1341.  is   recognized,   the   system   performs   the
  1342.  operations   specified  in  the  Suffix  of  the
  1343.  previous  block and then will execute the Prefix
  1344.  operations  of the next block before continuing.
  1345.  You  can enter as many On-Change Block levels as
  1346.  needed  and the system will automatically assume
  1347.  a  break  in  a  lower  level when a break takes
  1348.  place in a higher level.
  1349. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   49
  1350.  
  1351.  OPERATION 0 - REMARK
  1352.  
  1353.  This  operation  is  used  to  place programming
  1354.  comments  in  the  tables,  or  as  a  separator
  1355.  between  the  logical  sections of the execution
  1356.  table.
  1357.  
  1358.  This  is  the default where a new operation line
  1359.  is   created   (F4).   To   choose  a  different
  1360.  operation, Zoom to the Operations Table.
  1361.  
  1362.  To  enter  a  remark,  move  the  cursor  to the
  1363.  description column and type the comment. You can
  1364.  also press F6 to expand the comment line. Use F6
  1365.  again  or  press  <Enter>  to leave the expanded
  1366.  comment area.
  1367. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   21
  1368.  
  1369.  OPERATION 1 - SELECT FIELD
  1370.  
  1371.  Purpose:
  1372.  
  1373.  To  select  a  Field  from  a  Database  File to
  1374.  participate  in  a  Task  and to define order of
  1375.  input in an Online Task.
  1376.  
  1377.  Type : (R)eal or (V)irtual
  1378.  
  1379.  A  (R)eal  Field  is  selected  from the current
  1380.  Database  File, either from the file selected as
  1381.  the  Main File, or from the Linked File within a
  1382.  Begin  Link.  Any  modification  of  the field's
  1383.  contents  during  the  Task will be reflected in
  1384.  the Database File.
  1385.  
  1386.  A  (V)irtual  Field  is  selected from a Virtual
  1387.  File  Definition, and resides in memory only for
  1388.  the duration of the Task.
  1389.  
  1390.  Virtual  Fields  provide  temporary  storage and
  1391.  working  variables.  Values  can  be assigned to
  1392.  Virtual  Fields, and these values are remembered
  1393.  until  either  another value is assigned or Task
  1394.  termination.
  1395.  
  1396.  No. :
  1397.  
  1398.  The  Field Number selected from the current file
  1399.  or virtual file. It is possible to Zoom into the
  1400.  current  file  definition  for selection, or, in
  1401.  the  case  of a virtual field, into a modifiable
  1402.  virtual  file  definition  which exists only for
  1403.  this particular Task.
  1404.  
  1405.  Assign :
  1406.  
  1407.  An  Expression  is evaluated and assigned into a
  1408.  field.  Assignment  takes  place either when the
  1409.  field   is   accessed,   or   as   an  automatic
  1410.  recomputing   facility   whenever   any  of  the
  1411.  participating   fields  in  the  expression  are
  1412.  modified.  If an Assign Expression exists when a
  1413.  record  is  created, the Expression is evaluated
  1414.  and assigned into the Field, otherwise the Field
  1415.  is zeroed/blanked. Fields selected from a Linked
  1416.  File  are an exception to this rule, since these
  1417.  Fields  are  read from an existing Record in the
  1418.  Link File even when creating the Main Record.
  1419.  
  1420.  When  reading an existing record for the purpose
  1421.  of   modifying   it,  only  Virtual  Fields  are
  1422.  assigned,  since Real Fields already have values
  1423.  from   their   files.   Virtual  Fields  without
  1424.  assignment expressions are not altered.
  1425.  
  1426.  Input (online) :
  1427.  
  1428.  An  Expression  which  is  evaluated  to True or
  1429.  False.  If  False,  the  cursor will rest on the
  1430.  field  when  its  turn  comes  up,  but input is
  1431.  disabled.  Input  is  enabled  if  there  is  no
  1432.  expression at this parameter.
  1433.  
  1434.  Range/Locate:
  1435.  
  1436.  Pressing  the F1 will flip between the Range and
  1437.  Locate heading over the Min/Max  Expressions. At
  1438.  each   mode,   the  corresponding  Min  and  Max
  1439.  Expression  numbers  and the * column options is
  1440.  displayed.
  1441.  
  1442.  Minimum, Maximum :
  1443.  
  1444.  Expressions which are evaluated only once at the
  1445.  start  of  the Task and are used to either limit
  1446.  the  records  participating  in the logical view
  1447.  (when  the  Range  title  is  displayed),  or to
  1448.  position  the  cursor on a specific record (when
  1449.  the Locate title is displayed).
  1450.  
  1451.  * : (Y)es or (N)o
  1452.  
  1453.  Specifies   whether  the  above  Minimum/Maximum
  1454.  criteria  are  modifiable during Run-Time by the
  1455.  End  User. In critical cases, where the limiting
  1456.  is  crucial to the system design, (N)o should be
  1457.  specified.
  1458.  
  1459.  Condition:
  1460.  
  1461.  If   the  expression  in  the  condition  column
  1462.  evaluates  to False, the cursor will not rest on
  1463.  the   field   when   its   turn  comes  up,  but
  1464.  assignments will be made.
  1465. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   22
  1466.  
  1467.  OPERATION 2 - STOP !!!
  1468.  
  1469.  Purpose:
  1470.  
  1471.  To conditionally display a message at the bottom
  1472.  of the screen.
  1473.  
  1474.  Show :
  1475.  
  1476.  Message   to   be  displayed.  F6  is  a  toggle
  1477.  expanding  and  shrinking  the area, so messages
  1478.  longer than 20 characters can be typed.
  1479.  
  1480.  * : (E)rror or (W)arning
  1481.  
  1482.  If Error is specified and the Condition is True,
  1483.  then  processing  stops, the cursor parks on the
  1484.  previous  field, and the user cannot go past the
  1485.  Stop  Operation until the error is corrected. If
  1486.  Warning  is specified and the condition is True,
  1487.  the  message  is  displayed  and  the  cursor is
  1488.  positioned in the next field.
  1489.  
  1490.  Condition:
  1491.  
  1492.  If  True,  the  Error  or Warning are displayed,
  1493.  otherwise the Stop Operation is skipped, etc.
  1494. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   23
  1495.  
  1496.  OPERATIONS 3 & 4 - BEGIN/END LINK
  1497.  
  1498.  Purpose:
  1499.  
  1500.  To switch temporarily from the Task Main File to
  1501.  an  alternate Database file, to access data, and
  1502.  include  Linked  Fields  to the logical Database
  1503.  view.
  1504.  
  1505.  File:
  1506.  
  1507.  Database File to be linked to.
  1508.  
  1509.  Key:
  1510.  
  1511.  Key from the Linked File which should be used to
  1512.  read the Linked Record.
  1513.  
  1514.  Return:
  1515.  
  1516.  Select  an  Integer  Variable.  If  a Record was
  1517.  found  in  the  Linked  File, this Variable will
  1518.  have  a  0,  otherwise  a 1. An Always type Link
  1519.  will always return a 1.
  1520.  
  1521.  *: (N)ormal, (R)ead, (W)rite or (A)lways
  1522.  
  1523.  When  the  cursor stands on this field, a window
  1524.  MUST   be  opened  into  a  table  in  which  an
  1525.  expression  must be supplied for each Segment of
  1526.  the   Link   Key.   These  expressions  will  be
  1527.  evaluated   to   construct  a  Key  Value,  when
  1528.  attempting  to  read, and a Record with this key
  1529.  will be searched for.
  1530.  
  1531.  (N)ormal  attempts  to  read, and will not allow
  1532.  continuation  unless  a record was found. (R)ead
  1533.  attempts to read, but will allow continuation if
  1534.  the  record  wasn't  found.  (W)rite attempts to
  1535.  read,  and  if  it  doesn't succeed, a record is
  1536.  created   in  the  Linked  File,  with  the  Key
  1537.  Segments  participating  in the Link initialized
  1538.  to  the  Expression  values, and the rest of the
  1539.  Fields  zeroed/blanked.  The  creation  is  done
  1540.  after  the  Record  Suffix  has  been  executed.
  1541.  (A)lways  doesn't  attempt  to  read,  but  will
  1542.  create  a  record  as  in  (W)rite.  (Beware  of
  1543.  duplicate key errors!)
  1544.  
  1545.  Condition:
  1546.  
  1547.  If a Begin Link is not executed, a Link is still
  1548.  attempted.  Values  are  assigned  to the Linked
  1549.  Fields  as described above. However, any failure
  1550.  to   read  is  ignored  and  Linked  Fields  are
  1551.  zeroed/blanked.  The Condition is ignored in the
  1552.  End Link Operation.
  1553. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   24
  1554.  
  1555.  OPERATION 5 & 6 - BEGIN/END BLOCK
  1556.  
  1557.  Purpose:
  1558.  
  1559.  To  include  several  operations  in  one Block,
  1560.  which can then either be executed or not.
  1561.  
  1562.  *: (N)one, (B)efore or (A)fter
  1563.  
  1564.  If  (N)one is selected, the Block is viewed as a
  1565.  regular  operation.  As such, it can be executed
  1566.  or  not. If not, all operations in the Block are
  1567.  not  executed, each in its own way. As described
  1568.  above, even when a Link isn't executed, the Read
  1569.  is attempted.
  1570.  
  1571.  (B)efore  automatically  marks  the Block as not
  1572.  executable. As such, all Operations in the Block
  1573.  aren't  executed, but when standing on the first
  1574.  Select  Field Operation after the End Block, the
  1575.  F5  (Zoom)  will  be  enabled.  By  pressing F5,
  1576.  processing  jumps back to the first Operation in
  1577.  the  Block, and the Operations are executed from
  1578.  there.  Usually,  after  Zoom  was selected, the
  1579.  processing  will return to the Select Field from
  1580.  which it was originally selected.
  1581.  
  1582.  In an (A)fter Block, the F5 is lit when standing
  1583.  on  the  Select  Field immediately preceding the
  1584.  Begin  Block,  and if selected, jumps forward to
  1585.  the  first Operation in the Block, and continues
  1586.  from there. Otherwise, the Block isn't executed.
  1587.  
  1588.  Condition:
  1589.  
  1590.  If the condition is True, the Block is executed.
  1591.  Otherwise it is skipped.
  1592. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   25
  1593.  
  1594.  OPERATIONS 7 & 8 - EXECUTE TASK/PROGRAM
  1595.  
  1596.  Purpose:
  1597.  
  1598.  To  execute  a new Magic PC Task or Program. The
  1599.  Task/Program  resides  within  the Current Task,
  1600.  and  recognizes  all  the  current variables, in
  1601.  addition to its own.
  1602.  
  1603.  No.:
  1604.  
  1605.  Task  Number  from  the  Task  Table, or Program
  1606.  Number from Program Table.
  1607.  
  1608.  Parameters:
  1609.  
  1610.  This   mechanism   will  usually  be  used  when
  1611.  executing  Programs.  Zoom  to  select a list of
  1612.  variables  from  the  existing  variables, to be
  1613.  passed  to  the  Program.  In  the Program being
  1614.  called  each variable passed is associated to an
  1615.  equivalent  Virtual  Field,  starting  with  the
  1616.  first  Field in the Virtual File Definition. The
  1617.  Designer  must  ensure  that  the  Type  of each
  1618.  variable  passed  is the same as the Type of the
  1619.  Virtual   Field   in  the  called  Program.  Any
  1620.  reference  to these Virtual Fields in the called
  1621.  Program  will  actually  be  redirected  to  the
  1622.  passed variables. This enables calling a Program
  1623.  to  select  a value from a table, and having the
  1624.  Program   return   the   selected   value  in  a
  1625.  parameter.
  1626.  
  1627.  Screen :
  1628.  
  1629.  To  select  a Display Block, which will override
  1630.  the  called  Task/Program's Main Window (Display
  1631.  Block  #1). Allows a Program to be executed with
  1632.  different sized windows in different positions.
  1633.  
  1634.  * : (N)one, (B)efore, (A)fter
  1635.  
  1636.  If  (B)efore,  then  the  Program/Task  will  be
  1637.  executed  only if the Condition is True, and the
  1638.  user presses F5 (Zoom) when the cursor is on the
  1639.  field  which  is  defined  in  the  Select Field
  1640.  Operation immediately following the current Exec
  1641.  Program/Task Operation.
  1642.  
  1643.  If  (A)fter,  then  same as (B)efore, except the
  1644.  Zoom  field  is defined immediately prior to the
  1645.  current Exec Program/Task Operation.
  1646.  
  1647.  If (N)one, then the Zoom option is not available
  1648.  and  the  Operation will be executed only if the
  1649.  Condition is True.
  1650.  
  1651.  
  1652.  Condition:
  1653.  
  1654.  If  the  condition  is True, the Task/Program is
  1655.  executed  (only  in  conjunction  with  the  B/A
  1656.  option above), otherwise it is skipped.
  1657. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   26
  1658.  
  1659.  OPERATION 9 - UPDATE FIELD
  1660.  
  1661.  Purpose:
  1662.  
  1663.  To set the value of an Expression into a Field.
  1664.  
  1665.  No. :
  1666.  
  1667.  Field Number to Update.
  1668.  
  1669.  Expression :
  1670.  
  1671.  Update Expression.
  1672.  
  1673.  Mod : (N)on-Incremental or (I)ncremental
  1674.  
  1675.  (N)on-Incremental  means  that the Expression is
  1676.  evaluated   using  current  values  of  all  its
  1677.  variables.  The  result  is  set into the Update
  1678.  Field.
  1679.  
  1680.  (I)ncremental  is  actually  two updates. First,
  1681.  the  Expression  is evaluated using the original
  1682.  values  of  all its variables, and the result is
  1683.  subtracted from the Updated Field. Second, it is
  1684.  reevaluated  using  the  current  values  of its
  1685.  variables,  and  this  result  is  added  to the
  1686.  Updated  Field.  This Mode is generally used for
  1687.  updating a summation variable.
  1688.  
  1689.  In  (I)ncremental Mode the Expression should not
  1690.  contain  a reference to the Update Field itself.
  1691.  Update  a balance by specifying an expression of
  1692.  'amount'. If totaling in (N)on-Incremental mode,
  1693.  the Update Field must be part of the Expression,
  1694.  such as 'balance + amount'.
  1695.  
  1696.  * : (N)ot Abortable or (A)bortable
  1697.  
  1698.  Mainly  used  in nested, Father/Son Tasks, where
  1699.  the  Son  Task  updates  a Field selected in the
  1700.  Father Task. If (N)ot Abortable is selected, the
  1701.  Father  Task's current record must be completed,
  1702.  and  the  user  cannot  press  F2  to cancel it.
  1703.  Weaker  updates  should be (A)bortable, allowing
  1704.  the  user to cancel the Father's current record.
  1705.  For  example,  assigning a selected value from a
  1706.  table into a parameter should be (A)bortable.
  1707.  
  1708.  Condition:
  1709.  
  1710.  If   the   condition  is  True,  the  Update  is
  1711.  executed. Otherwise it is skipped.
  1712. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   27
  1713.  
  1714.  OPERATION 10 - WRITE FILE
  1715.  
  1716.  Purpose:
  1717.  
  1718.  To  write  a  Display  Block  to the printer, an
  1719.  ASCII file, a disk file, or the console.
  1720.  
  1721.  Screen :
  1722.  
  1723.  Select the Display Block to be written.
  1724.  
  1725.  File :
  1726.  
  1727.  Select  an  Output  File  Number.  This File was
  1728.  previously  defined  in  the  'More Information'
  1729.  window  in  the  Task  Header,  in  the I/O File
  1730.  Table.
  1731.  
  1732.  * : (A)utomatic, (T)op or (S)kip
  1733.  
  1734.  If  (A)utomatic,  then  when  ejecting  to a new
  1735.  page,  all the Header Display Blocks in the same
  1736.  class   of   the   current   Display  Block  are
  1737.  automatically  printed before the current one is
  1738.  printed.
  1739.  
  1740.  If  (T)op,  then  the  current  Display Block is
  1741.  printed at the top of a new page.
  1742.  
  1743.  If  (S)kip,  then  the  current Display Block is
  1744.  skipped  in  case it does not fit in the current
  1745.  page.  The EOF function will return True and the
  1746.  designer  can take special actions based on this
  1747.  condition.
  1748.  
  1749.  Condition:
  1750.  
  1751.  If  the  condition  is  True,  the Write File is
  1752.  executed. Otherwise it is skipped.
  1753. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   28
  1754.  
  1755.  OPERATION 11 - READ FILE
  1756.  
  1757.  Purpose:
  1758.  
  1759.  To  input  a line from an ASCII file, and set it
  1760.  into  the  Task's  fields according to a Display
  1761.  Block.
  1762.  
  1763.  Screen :
  1764.  
  1765.  The  Display  Block  with which parsing is to be
  1766.  done.
  1767.  
  1768.  File :
  1769.  
  1770.  An Input File Number must be selected. This File
  1771.  should   have   been   defined   in   the  'More
  1772.  Information' menu at the Task Header, in the I/O
  1773.  File Table.
  1774.  
  1775.  Character :
  1776.  
  1777.  Specifying a delimiting character.
  1778.  
  1779.  * : (C)olumn, (S)ingle or (D)ouble
  1780.  
  1781.  (C)olumn Mode parses the Input Line according to
  1782.  absolute  position,  as  defined  in the Display
  1783.  Block.  Care must be taken to match columns with
  1784.  the  ASCII file. (S)ingle mode expects the Input
  1785.  Values   to   be   separated  by  the  specified
  1786.  character,  where (D)ouble expects the values to
  1787.  be  bracketed  by  one  character before and one
  1788.  after.
  1789.  
  1790.  Condition:
  1791.  
  1792.  If  the  condition  is  True,  the  Read File is
  1793.  executed. Otherwise it is skipped.
  1794. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   29
  1795.  
  1796.  OPERATION 12 - SCAN FILE
  1797.  
  1798.  Purpose:
  1799.  
  1800.  To browse and edit an ASCII File.
  1801.  
  1802.  Name:
  1803.  
  1804.  An Expression evaluating to the ASCII File name.
  1805.  
  1806.  Ln: Language. English only in North America.
  1807.  
  1808.  * : (S)can (E)dit
  1809.  
  1810.  If Scan then no changes are allowed to the ASCII
  1811.  file.  If Edit, then the end user can modify the
  1812.  file   either   by   using   Magic   PC  editing
  1813.  facilities,  or  by using a text editor that was
  1814.  defined in the Environment Screen.
  1815.  
  1816.  Condition:
  1817.  
  1818.  If  the  condition  is  True,  the  Scan File is
  1819.  executed. Otherwise it is skipped.
  1820.  
  1821.  Notes :
  1822.  
  1823.  The  File  contents  are  displayed  on the Main
  1824.  Screen. So as to avoid conflict, a separate Task
  1825.  should be used for this Operation.
  1826. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   30
  1827.  
  1828.  OPERATION 13 - USER EXIT
  1829.  
  1830.  Purpose:
  1831.  
  1832.  To execute a DOS command from within a Task.
  1833.  
  1834.  Expression :
  1835.  
  1836.  A string Expression evaluating to a Command Line
  1837.  that  is  passed  to  DOS  for  processing. Upon
  1838.  termination,  control  automatically  returns to
  1839.  Magic  PC.  If the string is 'DOS', then control
  1840.  is transferred to DOS, until the user types EXIT
  1841.  at which point control returns to Magic PC.
  1842.  
  1843.  Cs :
  1844.  
  1845.  A  Yes  entry  will  clear  the  Magic PC screen
  1846.  before  leaving  to  DOS.  No  -  will leave the
  1847.  current screen displayed.
  1848.  
  1849.  Condition:
  1850.  
  1851.  If  the  condition  is  True,  the  User Exit is
  1852.  executed. Otherwise it is skipped.
  1853. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   31
  1854.  
  1855.  LINK TABLE
  1856.  
  1857.  This Table displays all the segments of the link
  1858.  key  from  the  Linked File. In order to perform
  1859.  the   link,   it   is  necessary  to  supply  an
  1860.  expression  which  will  evaluate  to  the  data
  1861.  values  in  each  of  the segments in the target
  1862.  record.  Zoom to the Expression Table, and enter
  1863.  the required expression.
  1864. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   32
  1865.  TASK TABLE
  1866.  
  1867.  Each  Task  has  a Task Table which displays the
  1868.  sub-tasks  that  run  under it. It is accessible
  1869.  either  from  the Execute Task operation (#7) or
  1870.  by  pressing F8 (Task). Note that by deleting an
  1871.  entry  in the Task Table, the associated task is
  1872.  deleted.  This is the only method of deleting an
  1873.  entire   task.   Deleting   the   Execute   Task
  1874.  operation,  however,  does  not  remove the task
  1875.  itself.
  1876. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   33
  1877.  
  1878.  PARAMETER TABLE
  1879.  
  1880.  This  Table  is  used  to specify the parameters
  1881.  passed  to  the  called  program in this Execute
  1882.  Program  operation.  Enter as many parameters as
  1883.  are  expected  by  the  called  program  in  the
  1884.  correct  order,  type and size. The rule is that
  1885.  the  matching  of parameters is done against the
  1886.  list  of virtual fields in the Virtual File, and
  1887.  not  in  the  order  they  are  selected  in the
  1888.  Execution  Table. Therefore, the first parameter
  1889.  in  the calling program will be matched with the
  1890.  first  virtual  field  in the Virtual File list,
  1891.  the second with the second, etc.
  1892. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   34
  1893.  
  1894.  DISPLAY BLOCKS TABLE
  1895.  
  1896.  The  Display  Block Table is used to control all
  1897.  the  relevant  parameters needed for the Windows
  1898.  (On-line,  Class  =  0)  and  Report  and  other
  1899.  Layouts  (Batch,  Class  >  0).  Zooming  on the
  1900.  description  column  will display the Windows or
  1901.  Layout.
  1902.  
  1903.  The  first  Display  Block  is always the Task's
  1904.  Window,  and is generated automatically when the
  1905.  Task  is  created  with  these defaults: Display
  1906.  Description = Task Description, Class=0, 21 Rows
  1907.  by  78  columns  (Full  screen). Sub-Tasks start
  1908.  with 0 rows by 78 columns.
  1909.  
  1910.  Class:
  1911.  
  1912.  When  you  zoom on a specific line in the table,
  1913.  all  the  Display Blocks with the same class are
  1914.  shown together on the screen.
  1915.  
  1916.  Class = 0 is reserved for Windows. Each task has
  1917.  one  window,  which  is always the first Display
  1918.  Block.  When  zoomed  on a Class=0 line, all the
  1919.  windows  are  displayed  together,  allowing  an
  1920.  integrated design.
  1921.  
  1922.  Other  Class  numbers  are assumed to be Layouts
  1923.  for Reports and therefore, are displayed without
  1924.  frames  to get the effect of the complete design
  1925.  layout.
  1926.  
  1927.  Typ:  (Normal/Header/Footer)
  1928.  
  1929.  If  the Class = 0, the Typ parameter is ignored.
  1930.  In  all  other  cases,  the  Typ is used for two
  1931.  purposes:
  1932.  
  1933.  1.  After zooming to the Layout screen, Magic PC
  1934.  displays  first  all  the  Header and the Normal
  1935.  Blocks  successively, and then the Footer Blocks
  1936.  in  reverse  order  of appearance in the Display
  1937.  Block Table.
  1938.  
  1939.  2.  At  Run-time, if an EOP (End of Page) occurs
  1940.  when an attempt is made to print a Display Block
  1941.  with  an Automatic Option (* column of Operation
  1942.  #10  is A), then all the Header Blocks preceding
  1943.  the current block are automatically displayed on
  1944.  the  next page before the block which caused the
  1945.  EOP is printed. Normal Blocks are not printed in
  1946.  this case.
  1947.  
  1948.  Therefore,  a  typical  usage of Normal Block is
  1949.  for  the  detail  line, the Header Block for the
  1950.  report  headers, and the Footer Block for totals
  1951.  and on-change sub-totals.
  1952.  
  1953.  It  is  this  feature  which dictates pairing up
  1954.  Headers  and  Footers  in  the Display Table. In
  1955.  this  way, when a Footer encounters an EOP, only
  1956.  its  own  Headers  and the ones prior to it (but
  1957.  not succeeding it) will be printed at the top of
  1958.  the next page.
  1959.  
  1960.  Rows/Cols:
  1961.  
  1962.  This   is   where   you   specify  the  physical
  1963.  dimensions  of  the  Display  Block.  The window
  1964.  frame  dimensions  could  be  smaller  than  the
  1965.  physical  dimensions,  and  the data will scroll
  1966.  within it. Expansion or reduction of the size is
  1967.  done  from  the  bottom  and the right hand side
  1968.  respectively.  If  the Block is reduced in size,
  1969.  all fields in the lost areas are lost as well.
  1970.  
  1971.  In  Layout  Blocks (Class = 1 or above), all Col
  1972.  parameters should be equal because the Layout is
  1973.  printed  together.  If  they  are  not the same,
  1974.  Magic PC will assign the largest value to all of
  1975.  them.
  1976.  
  1977.  Color:
  1978.  
  1979.  Zoom   to  select  the  default  background  and
  1980.  foreground  colors  for  the  text  used in this
  1981.  Display  Block. The field colors are selected in
  1982.  the Display Field Screen of each field.
  1983.  
  1984.  If Class > 0, the color parameter is not used.
  1985. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   35
  1986.  
  1987.  SCREEN EDITING
  1988.  
  1989.  Magic  PC has a full screen editor for designing
  1990.  both Display and Report Layouts.
  1991.  
  1992.  On  the Display screen, text can be typed on the
  1993.  screen  at  the cursor position. In addition, to
  1994.  define  a  Data Field position, you position the
  1995.  cursor  at  the correct spot on the screen, Zoom
  1996.  into the Field definition window, and choose the
  1997.  relevant field. Exiting with F9, will insert the
  1998.  selected variable into the screen layout.
  1999.  
  2000.  Cursor Positioning:
  2001.  
  2002.  The   Cursor   positioning   functions  use  the
  2003.  Directional  keypad  in  much  the  same  way as
  2004.  within an application.
  2005.  
  2006.  The Arrow keys each move the cursor one position
  2007.  in  the  respective  direction. Ctrl-Right Arrow
  2008.  and   Ctrl-Left   Arrow  move  the  cursor  four
  2009.  positions to the right and left respectively.
  2010.  
  2011.  The  Home  key  moves  the  cursor  to the first
  2012.  column  of  the  row, while the End key moves to
  2013.  the  last  column  of  the  display screen. PgUp
  2014.  moves to the first row of the screen. PgDn moves
  2015.  to the Last row.
  2016.  
  2017.  Backspace deletes to the left of the cursor, and
  2018.  the Del key deletes the characters at the cursor
  2019.  position.  F3 (Delete) deletes the entire cursor
  2020.  line.  F4  (Create)  inserts  a  line  above the
  2021.  current  line,  pushing the existing lines down.
  2022.  Ins  is used to switch to Insert Mode, canceling
  2023.  overwriting.
  2024.  
  2025.  Alt-B     Mark Block:
  2026.  Use this function to mark the upper left and the
  2027.  lower right corners of the rectangular block you
  2028.  want to mark.  If a block is already marked, and
  2029.  you  enter  Alt-B,  a  new block is marked using
  2030.  this last entry. Use Alt-L to mark lines.
  2031.  
  2032.  Alt-C     Center Block:
  2033.  Centers the highlighted block within the current
  2034.  frame.
  2035.  
  2036.  Alt-D     Delete Block:
  2037.  Fills in the highlighted block with blanks.
  2038.  
  2039.  Alt-F     Fill Block:
  2040.  Prompts  for  a  fill  character  and  fills the
  2041.  highlighted block with this character.
  2042.  
  2043.  Alt-L     Mark Line:
  2044.  Marks  the line on which the cursor is currently
  2045.  on.  If another line is marked at this time, all
  2046.  the   lines   between   them   are   marked  and
  2047.  highlighted.  If  an  area is already marked and
  2048.  you  press  Alt-L  again,  a new area is marked,
  2049.  using your new entry.
  2050.  
  2051.  Alt-M     Move Block:
  2052.  Moves   the  highlighted  block  to  the  cursor
  2053.  position.  This  position will be the upper left
  2054.  corner   of  the  new  location  when  moving  a
  2055.  rectangular  block  (Alt-B).  When  moving lines
  2056.  (Alt-L),  their  new  position will start at the
  2057.  cursor line.
  2058.  
  2059.  Alt-P     Paint Block:
  2060.  Zooms  to  the  Color Table. When you leave with
  2061.  F9,  the  highlighted block will be painted with
  2062.  your  selection. Note that you should paint your
  2063.  Alt-T   area,  in  order  to  see  a  consistent
  2064.  highlighted  line  at  Runtime. This function is
  2065.  enabled only for Class 0 blocks.
  2066.  
  2067.  Alt-R     Repeat Block:
  2068.  Copies  the  highlighted  block  to  the  cursor
  2069.  position.  When  a  rectangular  block is copied
  2070.  (Alt-B),  the  cursor  position  marks  the  new
  2071.  block's upper left corner. When lines are copied
  2072.  (Alt-L), their new position will start under the
  2073.  cursor line.
  2074.  
  2075.  Alt-S     Show Levels:
  2076.  Displays  the  boundaries  of the Display Blocks
  2077.  within  the  entire screen area. The block names
  2078.  are    not    displayed   to   minimize   screen
  2079.  interference.  Press  Alt-S  to  toggle  out, or
  2080.  Alt-X  to  add the block names. This function is
  2081.  enabled for non-zero Class only.
  2082.  
  2083.  Alt-T     Mark Task Area:
  2084.  Designates  the  highlighted  marked area as the
  2085.  Task  Area  within  the  window.  This instructs
  2086.  Magic  PC to display each record within the Task
  2087.  Area and fill the window with as many records as
  2088.  possible.  In the typical case you mark a single
  2089.  line   (Alt-L),  paint  it  solid  (Alt-P),  and
  2090.  designate  it as the Task Area (Alt-T). Magic PC
  2091.  displays  this window in "Line Mode", displaying
  2092.  a line for each record. The default Task Area is
  2093.  the  entire window and if a smaller Task Area is
  2094.  not  marked,  each  record  will be displayed in
  2095.  "Screen Mode", one per screen.
  2096.  
  2097.  Alt-U     Unmark Block:
  2098.  Cancels   the  currently  highlighted  block  by
  2099.  removing the highlight.
  2100.  
  2101.  Alt-V     Verify Block:
  2102.  Marks a block at the cursor position. This block
  2103.  is the same size as the current block. This will
  2104.  verify what will happen if you move the block to
  2105.  this   position.  You  can  prevent  overwriting
  2106.  existing  text  by  using the Alt-V prior to the
  2107.  Alt-M, or Alt-R.
  2108.  
  2109.  Alt-W     Mark Window Area:
  2110.  Designates  the  marked  area  as the sub-Window
  2111.  Area  within the screen. Typically used when the
  2112.  Son  Task  displays  its  fields in his Father's
  2113.  window.  (Open  Window=N  in the Son's More Info
  2114.  screen).  In this case, the Alt-W marks a Window
  2115.  Area  within  the Father's window. Magic PC will
  2116.  display  the Son's records only inside the Alt-W
  2117.  area.  If  you  want to display these records in
  2118.  "Line  Mode" you must define an Alt-T within the
  2119.  Alt-W area.
  2120.  
  2121.  Alt-X     Show Extended Levels:
  2122.  Displays  the  boundaries  of the Display Blocks
  2123.  within  the  entire  screen  area, including the
  2124.  block names. Press Alt-X to toggle out, or Alt-S
  2125.  to  delete  the  block  names.  This function is
  2126.  available only for non-zero Class blocks.
  2127.  
  2128.  Some useful graphic characters for frames:
  2129.  
  2130.                  (Type: Alt-XXX)
  2131.  
  2132.       213 ╒                           ╕ 184
  2133.       214 ╓                           ╖ 183
  2134.       201 ╔  196 194 210 209 203 205  ╗ 187
  2135.       218 ┌── ─ ──┬───╥─ ═╤═══╦══ ═ ──┐ 191
  2136.                   │   ║   │   ║
  2137.       179 │       │           ║       │ 179
  2138.       195 ├─  197─┼─        ──╫─215  ─┤ 180
  2139.       198 ╞═      │           ║      ═╡ 181
  2140.                   │           ║
  2141.       186 ║       │           ║       ║ 186
  2142.       204 ╠═  216═╪═        ══╬═206  ═╣ 185
  2143.       199 ╟─      │           ║      ─╢ 182
  2144.                   │   ║   │   ║
  2145.       192 └── ─ ──┴───╨─ ═╧═══╩══ ═ ──┘ 217
  2146.       200 ╚  196 193 208 207 202 205  ╝ 188
  2147.       211 ╙                           ╜ 189
  2148.       212 ╘                           ╛ 190
  2149. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   36
  2150.  
  2151.  WINDOW DESIGN
  2152.  
  2153.  All  the  window design tools are made available
  2154.  by  pressing  the Scroll Lock (or the Alt =) key
  2155.  and F1 to open the options menu. To leave any of
  2156.  the options, press F9 or Scroll Lock.
  2157.  
  2158.  F1: Scroll Content
  2159.  
  2160.  The  default  when  Scroll is invoked. It allows
  2161.  scrolling  the data in a window that has a frame
  2162.  smaller  than  the  physical dimensions. Use the
  2163.  directional  keys  to  scroll one character at a
  2164.  time  and  Ctrl-Arrow  to scroll in fast mode (4
  2165.  characters at a time).
  2166.  
  2167.  F2: Frame Location
  2168.  
  2169.  Moves  your window to the desired location using
  2170.  the directional keys.
  2171.  
  2172.  F3: Frame Size
  2173.  
  2174.  This option will change the size of the frame up
  2175.  to  the physical size that was determined in the
  2176.  display  block parameter. The top left corner of
  2177.  the  window  is  fixed.  Moving  the Left and Up
  2178.  arrows  reduces the size of the frame, while the
  2179.  Right and Down arrows expand it.
  2180.  
  2181.  F4: Frame Type
  2182.  
  2183.  S - Single line frame.
  2184.  D - Double line frame (Default)
  2185.  N  -  No  frame (Rarely used - See chapter 11 in
  2186.  the documentation)
  2187.  
  2188.  F5  -  Frame  Color: Displays the color table to
  2189.  choose a color for the frame.
  2190.  
  2191.  F6  -  Title  Color: Displays the color table to
  2192.  choose a color for the title.
  2193.  
  2194.  F7  -  Define Color: Displays the color table to
  2195.  allow for color setting.
  2196. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   37
  2197.  
  2198.  WINDOW DESIGN
  2199.  
  2200.  All  the  window design tools are made available
  2201.  by  pressing  the Scroll Lock key and F1 to open
  2202.  the  option  menu.  To leave any of the options,
  2203.  press F9 or Scroll Lock.
  2204.  
  2205.  F1: Scroll Content
  2206.  
  2207.  The  default  when  Scroll is invoked. It allows
  2208.  scrolling  the data in a window that has a frame
  2209.  smaller  than  the  physical dimensions. Use the
  2210.  directional  keys  to  scroll one character at a
  2211.  time  and  Ctrl-Arrow  to scroll in fast mode (4
  2212.  characters at a time).
  2213.  
  2214.  F2: Frame Location
  2215.  
  2216.  Moves  your window to the desired location using
  2217.  the directional keys.
  2218.  
  2219.  F3: Frame Size
  2220.  
  2221.  This option will change the size of the frame up
  2222.  to  the physical size that was determined in the
  2223.  display  block parameter. The top left corner of
  2224.  the  window  is  fixed.  Moving  the Left and Up
  2225.  arrows  reduces the size of the frame, while the
  2226.  Right and Down arrows expand it.
  2227.  
  2228.  F4: Frame Type
  2229.  
  2230.  S - Single line frame.
  2231.  D - Double line frame (Default)
  2232.  N - No frame (Rarely used - See Documentation)
  2233.  
  2234.  F5  -  Frame  Color:  Opens  the  color table to
  2235.  choose a color for the frame.
  2236.  
  2237.  F6  -  Title  Color:  Opens  the  color table to
  2238.  choose a color for the title.
  2239.  
  2240.  F7  -  Define Color: Displays the color table to
  2241.  allow for color setting.
  2242. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   38
  2243.  
  2244.  COLOR TABLE
  2245.  
  2246.  The  Color  Table  can  be accessed from several
  2247.  places  in  the  task  to "paint" specific areas
  2248.  (windows,  variables,  portions  of  the screen,
  2249.  frames,   title,  etc.)  Similarly  to  all  the
  2250.  "banks",  once  the table is open you can change
  2251.  the entries in it.
  2252.  
  2253.  The  only  entry  point  to  the color table for
  2254.  definition  purposes, without painting anything,
  2255.  is  from  the  Environment Screen. To change the
  2256.  color  move the cursor to the Foreground (FG) or
  2257.  Background  (BG)  column  and  use  the  Up/Down
  2258.  Arrows  to  select the next combination. You can
  2259.  type  in  the  number  if  you  know it. All 256
  2260.  (16x16) combinations are available.
  2261.  
  2262.  There are 50 entries in this table, all of which
  2263.  can  be  changed.  It is very important to know,
  2264.  however,  that  the first 10 entries are used by
  2265.  Magic   PC   as  default  values  for  different
  2266.  subjects:
  2267.  
  2268.  1. Default for all Text.
  2269.  2. Default for all Data fields.
  2270.  3. Default for all Frames.
  2271.  4. Default for all Frame Titles.
  2272.  5. Default for Text in pop-up menus and tables.
  2273.  6. Default for Fields in pop-up menu or tables.
  2274.  7. Default for Frames in pop-up menu and  tables
  2275.  8. Default for Frame Titles.
  2276.  9. Function Key display.
  2277.  10. Function Key display when selected.
  2278. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   40
  2279.  
  2280.  DOCUMENTATION
  2281.  
  2282.  This  utility  will  print  the  Menus (M), Data
  2283.  Dictionary  files  (F),  Programs  (P), and Help
  2284.  screens  (H) - either in Document form (D) or in
  2285.  Internal  form.  In  both cases you can elect to
  2286.  print a single element or a range of elements by
  2287.  specifying   a   From/To  range.  (Zoom  to  the
  2288.  relevant table to select the range).
  2289.  
  2290.  The  Document  option  provides automatic system
  2291.  documentation for all of Magic PC's elements. It
  2292.  defaults to the printer (PRN:), but you can send
  2293.  the  output to a disk file, simply by specifying
  2294.  a file name instead of the PRN:
  2295.  
  2296.  The  Internal  option  will  dump  the  specific
  2297.  element  into  an  ASCII file in a coded format.
  2298.  This ASCII file is useful only when it serves as
  2299.  an   input   file  to  the  "Import  Dictionary"
  2300.  utility.  Use  this  option  to  make  copies of
  2301.  existing  Programs or Data Dictionary files, for
  2302.  example, or to prepare a new XXCTL.DAT file with
  2303.  only  portions  of  the current control file. If
  2304.  you  choose a range of entries, the entire range
  2305.  will  be  sent  to the same ASCII file. Magic PC
  2306.  displays  a  default  file  name  which  you can
  2307.  change.  You have to remember this file name and
  2308.  enter  it  as the input file name to the "Import
  2309.  Dictionary" utility.
  2310. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   41
  2311.  DATA DICTIONARY PRINT (OLD)
  2312. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   42
  2313.  PROGRAM PRINT (OLD)
  2314. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   43
  2315.  
  2316.  DICTIONARY IMPORT
  2317.  
  2318.  This  is the option used to import an ASCII file
  2319.  that    was    exported    previously   by   the
  2320.  "Documentation"    utility.    When    importing
  2321.  programs,  they  are  added  to  the  end of the
  2322.  corresponding Table.
  2323.  
  2324.  Enter  the  name of the file to be imported, and
  2325.  press F5.
  2326.  
  2327.  See  the  Help  screen  for  the "Documentation"
  2328.  utility   for  information  about  the  Internal
  2329.  Documentation option.
  2330. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   47
  2331.  
  2332.  INSTALL MENU
  2333.  
  2334.  This menu provides you with options to customize
  2335.  your Magic PC installation.
  2336.  
  2337.  F1> Environment:
  2338.  
  2339.  This   option  is  used  to  change  the  system
  2340.  parameters.   Further   Help   is  available  by
  2341.  entering this option and pressing F10.
  2342.  
  2343.  F2> Load Help:
  2344.  
  2345.  This  option is used to Load the MGHELP.DAT file
  2346.  into Magic PC, for the first time. Use this only
  2347.  when the MGHELP.DAT file has been modified.
  2348.  
  2349.  F3> Color:
  2350.  
  2351.  This   option  is  used  to  control  the  color
  2352.  combinations   in  your  version  of  Magic  PC.
  2353.  Further  Help  is  available  by  entering  this
  2354.  option and pressing F10.
  2355. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   48
  2356.  
  2357.  ENVIRONMENT
  2358.  
  2359.  Owner Name:
  2360.  
  2361.  Enter  the  Owner's  name as it should appear in
  2362.  the  upper  left corner of the screen and in the
  2363.  OWNER() Function.
  2364.  
  2365.  Terminal:
  2366.  
  2367.  Used   in   multiuser  environment  to  identify
  2368.  different  users.  The function TERM returns the
  2369.  number   stored   in  this   field.  Since  this
  2370.  identification  is  stored  in  the  MGCONST.DAT
  2371.  file,  you  can  make some application decisions
  2372.  based  on that fact. For example, send output of
  2373.  report  programs  to  different  printers on the
  2374.  network.
  2375.  
  2376.  Single/DOS 3.1/Novell: (S)
  2377.  
  2378.  Used  to  select  a  single user mode (S), or if
  2379.  working in multiuser, select between generic DOS
  2380.  3.1  LAN support (D), or Novell Advanced NetWare
  2381.  (N).  See  chapter  14  for details on multiuser
  2382.  setup.
  2383.  
  2384.  Input Password (Y/N):
  2385.  
  2386.  If  Y,  then  the LOGIN window pops up after the
  2387.  user  enter the System Date in the Entry Screen.
  2388.  The  LOGIN window is used to prompt for the User
  2389.  ID  and password for the application system that
  2390.  is  later  selected at the System Menu. It is at
  2391.  that  point  (and  not  upon  entry in the LOGIN
  2392.  window)  that  the  User  ID  and  password  are
  2393.  validated.
  2394.  
  2395.  If  set  to N, the LOGIN window does not pop up,
  2396.  and  the  user is therefore not prompted for the
  2397.  User  ID  and  Password  which  are  assigned to
  2398.  blanks as a result. Only if the User ID Table is
  2399.  empty,  or at least one entry was set to a Blank
  2400.  User  ID, and Blank password, - will the user be
  2401.  able to enter the application system. Otherwise,
  2402.  the  "Illegal  Password"  error  massage will be
  2403.  displayed, and entry denied.
  2404.  
  2405.  Command Processor:
  2406.  
  2407.  The  name  and  path of the DOS level processor.
  2408.  Magic  PC  looks  for this file in the specified
  2409.  directory  for  external  processing and in User
  2410.  Exit Operations.
  2411.  
  2412.  Editor:
  2413.  
  2414.  Enter  here the program name of a text editor or
  2415.  a  text  oriented  word processor. Magic PC will
  2416.  automatically  load  this program when you press
  2417.  the  F8  (Edit)  key while in the Help screen or
  2418.  Scan  File  operation.  You  may  then  use this
  2419.  editing  program to design your screen, and upon
  2420.  saving   the  temporary  file  (MGTEMP.DAT)  and
  2421.  terminating  the  editor,  the  content  will be
  2422.  transferred to the Magic PC screen.
  2423.  
  2424.  Lock File Directory:
  2425.  
  2426.  A  DOS  path  specification  to a directory that
  2427.  will  contain  Magic  PC's multiuser lock files,
  2428.  MGFLOCK.DAT  and  MGRLOCK.DAT.  (The MGRLOCK.DAT
  2429.  file  is  used  only if you are working with the
  2430.  generic   DOS   3.1  specification;  the  Novell
  2431.  environment  does not use the MGRLOCK.DAT file).
  2432.  It is best to define this directory in a Virtual
  2433.  Disk   on  the  network  server.  This  improves
  2434.  performance  due  to  the frequent access to the
  2435.  lock  files  which is much faster in memory than
  2436.  disk.
  2437.  
  2438.  European/American Date (A/E):
  2439.  
  2440.  Select American (MM/DD/Y) or European (DD/MM/YY)
  2441.  
  2442.  
  2443.  Separators: (Thousand, Date, Time):
  2444.  
  2445.  The  characters  used to separate the components
  2446.  of   these  fields.  The  defaults  are  ,  /  :
  2447.  respectively.
  2448.  
  2449.  
  2450.  Printer Page Size: (60)
  2451.  
  2452.  The  default count of lines-per-page when output
  2453.  is  sent to the printer or a disk file. It could
  2454.  be  modified within the program in the I/O table
  2455.  (More  Info Screen) or at runtime with the Files
  2456.  option.  The default setup is 60 lines per page.
  2457.  If  output is sent to the CONSOLE (or CON:), the
  2458.  default size is 24.
  2459.  
  2460.  Start System:
  2461.  
  2462.  If  you  wish to automatically select a specific
  2463.  Application System without displaying the System
  2464.  Menu  at  all,  enter  the  entry number of that
  2465.  application as it is shown in the System Menu.
  2466.  
  2467.  Save Screen Seconds:
  2468.  
  2469.  If  the current screen has not been modified for
  2470.  as  many seconds as specified in this parameter,
  2471.  the  screen  will be cleared. This helps prevent
  2472.  damaging  the  monitor.  Any keyboard entry will
  2473.  re-display  the  screen  and  will be used as an
  2474.  input  character. The default zero entry, causes
  2475.  the screen to be displayed at all times.
  2476.  
  2477.  Low Memory / Beep Options:  (2)
  2478.  
  2479.  Magic  PC warns you when the amount of available
  2480.  memory is reaching a dangerously low level which
  2481.  could  cause  a  system crash if you continue to
  2482.  request  more memory. The warning is a series of
  2483.  beeps  which  continue  as long as memory is too
  2484.  low.  At  this  point you must pop back a level,
  2485.  typically  by  leaving the current Task, and the
  2486.  beeps will stop. The options are:
  2487.  
  2488.  
  2489.  0  - Beep is off. No beeps are sounded.
  2490.  
  2491.  1  -  Memory  only.  The  beeps are only used to
  2492.  warn  about  low  memory.  All  other  beeps are
  2493.  disabled.
  2494.  
  2495.  2  -  Memory  and  Normal. Beep is used for both
  2496.  normal activities
  2497.  
  2498.  3  - Beep is used for normal activities only.
  2499. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   50
  2500.  
  2501.  AUTHORIZATION
  2502.  
  2503.  To  control access to the application components
  2504.  you  can  assign  a group number for each of the
  2505.  possible   functions:  Create,  Modify,  Delete,
  2506.  Query,  and  Execute (for Programs only). A user
  2507.  may  execute one of these functions if his Group
  2508.  Number  is  less  than  or  equal to the entry's
  2509.  Group Number. Note that the Create authorization
  2510.  refer  to creating new entries in the table, and
  2511.  it   is   repeated  on  all  of  the  lines  for
  2512.  convenience.  A user can change group numbers of
  2513.  all  entries  which were set to  his group level
  2514.  (or above), to a higher (or equal) level only.
  2515. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   51
  2516.  
  2517.  HELP SCREENS
  2518.  
  2519.  Four  levels  of  help  are available: The first
  2520.  time the user presses F10, Magic PC will display
  2521.  the  help  window  for  the  current  field. The
  2522.  second  F10  will display the global help window
  2523.  for  the  Task,  the third will display the User
  2524.  Option  help  from  the MGHELP.DAT file, and the
  2525.  fourth will display the How to Use Help section,
  2526.  also  from  the  MGHELP.DAT  file. As always, F9
  2527.  will  pop  back  one level at a time. (Note that
  2528.  Batch  Tasks have only three levels of help. The
  2529.  field level is not applicable).
  2530.  
  2531.  To  implement these features, you can define one
  2532.  Task Help and one help window for every selected
  2533.  field.  The help windows are defined in a table,
  2534.  much like the Display Blocks, with the exception
  2535.  that  they  are  global to the entire system and
  2536.  not  to  any particular Task. They are available
  2537.  by  selecting  F4 in the Design Options Menu, or
  2538.  within  the  Task, from any Display Block screen
  2539.  by  pressing  F8.  The  default  size  is 21X50.
  2540.  Change    the   content   size   to   fit   your
  2541.  requirements,  and  Zoom to enter the help text.
  2542.  Magic  PC  automatically displays "Page x of y".
  2543.  Max size for any help screen is 32K.
  2544.  
  2545.  Note  that from the help screen you can press F8
  2546.  (Edit)  and  exit  to  your  favorite  editor as
  2547.  defined  in  the  Environment  Screen.  Magic PC
  2548.  creates a temporary file (MGTEMP.DAT) and passes
  2549.  it  to  the  editor. To return to Magic PC, save
  2550.  the  file and leave the editor. All the Magic PC
  2551.  editing  facilities (except Alt-T and Alt-W) are
  2552.  available for the help screen.
  2553.  
  2554.  To  assign  a help screen to a particular field,
  2555.  press  F8 while the cursor is on the field mask.
  2556.  To  assign  a  global  help  screen to the Task,
  2557.  press F8 from any non-masked (text) point on the
  2558.  screen.  An alternative to the assignment of the
  2559.  Task  level  help  is  to  Zoom on the Task Help
  2560.  entry  in  the  More Info screen and pick one of
  2561.  the Help Screens from the Help  Table. If any of
  2562.  the two levels are not defined, they are skipped
  2563.  in the sequence of pressing F10 at runtime.
  2564. @XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX   52
  2565.  
  2566.  SECURITY: USER ID, PASSWORD, AUTHORIZATION
  2567.  
  2568.  Magic  PC's  security  features  enable  you the
  2569.  flexibility  of deciding who can access the Data
  2570.  Dictionary, Program Dictionary and Help screens.
  2571.  You also have control over who can run (execute)
  2572.  a given program.
  2573.  
  2574.  Choosing  F5  from  the Design Options Menu will
  2575.  display  the  User ID Table. Here you can define
  2576.  the User ID, its Password  and its Group Number.
  2577.  The  Groups  are  hierarchical:  Group  0 is the
  2578.  "strongest"   and   999  is  the  "weakest".  In
  2579.  general, if an authorization is granted to level
  2580.  10  as  an  example, then all User IDs that have
  2581.  their group defined in this table as 10 or less,
  2582.  will  be authorized for the particular activity.
  2583.  Let's use the following table as an example:
  2584.  
  2585.       User ID      Password     Group
  2586.       -------      --------     -----
  2587.       OWNER        PASS1          0
  2588.       DEALER       PASS2         10
  2589.       DBA          PASS3         20
  2590.       USER1        PASS4         30
  2591.       USER2        PASS5         30
  2592.  
  2593.  This assumes that one User ID was allocated with
  2594.  the  strongest  authorization,  (0), one for the
  2595.  dealer,  one  for the Database Administrator and
  2596.  two for the end-users.
  2597.  
  2598.  If  you  set  the  Input  Password  entry in the
  2599.  Environment Screen to Yes, the LOGIN window will
  2600.  be  displayed  upon  entering  Magic PC, and the
  2601.  user   will  be  prompt  for  the  User  ID  and
  2602.  Password, which will be validated upon selecting
  2603.  a system in the System Menu (See the Environment
  2604.  Screen Help).
  2605.  
  2606.  Once   entered,   the   user   can  perform  any
  2607.  authorized  activity:  Create,  Modify,  Delete,
  2608.  Query   and   Execute   either   Programs,  Data
  2609.  Dictionary  files  or Help Screens - only if the
  2610.  authorized  group  number  which was assigned to
  2611.  the  given  entity  is  equal-to or greater-than
  2612.  the user's group number.
  2613.  
  2614.  For example: If the user is a DBA from the table
  2615.  above,  all  authorized  activities  with  group
  2616.  authority  of  20  and above - are permitted for
  2617.  this  user.  The  authorization group number was
  2618.  given using the F6 (Auth) key which is available
  2619.  at the Program Table, Data Dictionary Table, and
  2620.  the  User  Help  Screen Table. In fact, any user
  2621.  can  change  the  authorization  group number of
  2622.  entries   which  currently  have  group  numbers
  2623.  equal-to  or  greater-than his own group number,
  2624.  to  his  own  group  number, or a higher number.
  2625.  Using  the  example  above,  the  DBA  can reset
  2626.  authorization  group number of all entries which
  2627.  currently  are assigned to group 20 or above, to
  2628.  20 or a higher number.
  2629.  
  2630.  A  user  can  create  new entries in the User ID
  2631.  table,  and  assign them a group number at least
  2632.  one higher than his own. The user can change his
  2633.  own  password, but not his own User ID. All User
  2634.  IDs  with  group  numbers  lower than the user's
  2635.  group  number  -  are  masked  with  * to ensure
  2636.  security.
  2637.  
  2638.  Group 0 is unique in the respect that it has  no
  2639.  restriction   what-so-ever   with   the   entire
  2640.  application.  Make  sure  you  have at least one
  2641.  group  0 entry in the User ID table, if you want
  2642.  to  ever  change  any authorization entries that
  2643.  were assigned to group 0.
  2644.